summaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer')
-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