From b2e712bc497b36b09ff324e15576b7fa1c76a1ae Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 10 Sep 2012 11:46:08 +0000 Subject: 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 --- vncviewer/DesktopWindow.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vncviewer') 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: -- cgit v1.2.3