aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.cxx
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2011-07-19 09:28:39 +0000
committerPeter Åstrand <astrand@cendio.se>2011-07-19 09:28:39 +0000
commitadf5e25abb7dafe5588c8d9b7c7f4c0b674b5d2b (patch)
tree7e2de3e2445f45a483bcbcce82b094dc22d898b7 /vncviewer/DesktopWindow.cxx
parent17067b16ee38125b0a0a97baf758f9166c96e13a (diff)
downloadtigervnc-adf5e25abb7dafe5588c8d9b7c7f4c0b674b5d2b.tar.gz
tigervnc-adf5e25abb7dafe5588c8d9b7c7f4c0b674b5d2b.zip
Another fullscreen fix: When the framebuffer size changes, we must not
call size_range with a limit, when running in fullscreen mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4600 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.cxx')
-rw-r--r--vncviewer/DesktopWindow.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 91019516..102e0b1c 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -173,6 +173,9 @@ void DesktopWindow::resizeFramebuffer(int new_w, int new_h)
repositionViewport();
// Update allowed resize range
+#ifdef HAVE_FLTK_FULLSCREEN
+ if (!fullscreen_active())
+#endif
size_range(100, 100, new_w, new_h);
// repositionViewport() makes sure the scroll widget notices any changes