From: Pierre Ossman Date: Wed, 4 Jul 2012 11:37:48 +0000 (+0000) Subject: This code is no longer needed now that we have dynamic resize. X-Git-Tag: v1.2.90~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=275284f3fdb462665e15116bbd0719cfc41a76bb;p=tigervnc.git 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 --- 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: