Need to make sure that the viewport still gets mouse events, even if we
want to intercept them for the edge/bump scroll.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4997 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index fecf671..f35457d 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -360,7 +360,8 @@
Fl::add_timeout(0.1, handleEdgeScroll, this);
}
}
- return 1;
+ // Continue processing so that the viewport also gets mouse events
+ break;
#endif
case FL_SHORTCUT: