summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-09-10 11:46:08 +0000
committerPierre Ossman <ossman@cendio.se>2012-09-10 11:46:08 +0000
commitb2e712bc497b36b09ff324e15576b7fa1c76a1ae (patch)
tree20daeab2322c9b92e7e499176f7473988b3ae10a
parent80bd3ec6e63e770cb6c461bae5159a952e6920f5 (diff)
downloadtigervnc-b2e712bc497b36b09ff324e15576b7fa1c76a1ae.tar.gz
tigervnc-b2e712bc497b36b09ff324e15576b7fa1c76a1ae.zip
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
-rw-r--r--vncviewer/DesktopWindow.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index fecf6718..f35457d7 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -360,7 +360,8 @@ int DesktopWindow::handle(int event)
Fl::add_timeout(0.1, handleEdgeScroll, this);
}
}
- return 1;
+ // Continue processing so that the viewport also gets mouse events
+ break;
#endif
case FL_SHORTCUT: