diff options
-rw-r--r-- | vncviewer/Viewport.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 1e4468b5..a80b8efe 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -919,11 +919,8 @@ void Viewport::popupContextMenu() case ID_FULLSCREEN: if (window()->fullscreen_active()) window()->fullscreen_off(); - else { - // See comment in DesktopWindow::handleOptions - window()->size_range(100, 100, 0, 0); + else window()->fullscreen(); - } break; #endif case ID_RESIZE: |