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
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 9101951..102e0b1 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -173,6 +173,9 @@
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