]> source.dussan.org Git - tigervnc.git/commitdiff
This code is no longer needed now that we have dynamic resize.
authorPierre Ossman <ossman@cendio.se>
Wed, 4 Jul 2012 11:37:48 +0000 (11:37 +0000)
committerPierre Ossman <ossman@cendio.se>
Wed, 4 Jul 2012 11:37:48 +0000 (11:37 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4926 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/Viewport.cxx

index 1e4468b5fe3c184b40620d79606ed21038ff99fc..a80b8efe06aad71d4b9d333558b9e7138f368fc5 100644 (file)
@@ -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: