Revision: 5010 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5010&view=rev Author: ossman_ Date: 2012-10-24 12:15:19 +0000 (Wed, 24 Oct 2012) Log Message: ----------- Leaving/entering full screen on OS X would leave the scroll bars in an incorrect state. Turned out it was actually a redraw bug.
Modified Paths: -------------- trunk/vncviewer/DesktopWindow.cxx Modified: trunk/vncviewer/DesktopWindow.cxx =================================================================== --- trunk/vncviewer/DesktopWindow.cxx 2012-10-24 08:35:07 UTC (rev 5009) +++ trunk/vncviewer/DesktopWindow.cxx 2012-10-24 12:15:19 UTC (rev 5010) @@ -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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits