aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer')
-rw-r--r--vncviewer/DesktopWindow.cxx5
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;