]> source.dussan.org Git - tigervnc.git/commitdiff
Need to make sure that the viewport still gets mouse events, even if we
authorPierre Ossman <ossman@cendio.se>
Mon, 10 Sep 2012 11:46:08 +0000 (11:46 +0000)
committerPierre Ossman <ossman@cendio.se>
Mon, 10 Sep 2012 11:46:08 +0000 (11:46 +0000)
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

index fecf6718628fb4a1826f8761e4a1bf6abfe263d8..f35457d7c1fd7d495c2ca5598a047bba2921b563 100644 (file)
@@ -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: