Leaving/entering full screen on OS X would leave the scroll bars in an
incorrect state. Turned out it was actually a redraw bug.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5010 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 746f341..378e43c 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -369,6 +369,11 @@
     else
       scroll->type(Fl_Scroll::BOTH);
 
+    // The scroll widget isn't clever enough to actually redraw the
+    // scroll bars when they are added/removed, so we need to give
+    // it a push.
+    scroll->redraw();
+
     if (!fullscreenSystemKeys)
       break;