diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-10-24 12:15:19 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-10-24 12:15:19 +0000 |
commit | 2f3a04ef23d120598b6f32ea6f793aff0651e159 (patch) | |
tree | c071434090a8f56d116570e7a2326231d165e423 /vncviewer | |
parent | 9d08014515636a14ac9d07ceb303092a2ab7d9bf (diff) | |
download | tigervnc-2f3a04ef23d120598b6f32ea6f793aff0651e159.tar.gz tigervnc-2f3a04ef23d120598b6f32ea6f793aff0651e159.zip |
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
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/DesktopWindow.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 746f3413..378e43cf 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -369,6 +369,11 @@ int DesktopWindow::handle(int event) 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; |