diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-07-04 11:37:48 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-07-04 11:37:48 +0000 |
commit | 275284f3fdb462665e15116bbd0719cfc41a76bb (patch) | |
tree | 94fde07855d27a401217b4f07fdf1fff606bc5ed /vncviewer/Viewport.cxx | |
parent | 8dc8bca97465f752e3f008b1ee38ff0dae1bfab5 (diff) | |
download | tigervnc-275284f3fdb462665e15116bbd0719cfc41a76bb.tar.gz tigervnc-275284f3fdb462665e15116bbd0719cfc41a76bb.zip |
This code is no longer needed now that we have dynamic resize.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4926 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/Viewport.cxx')
-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: |