diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-11-10 13:30:39 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-11-10 13:30:39 +0000 |
commit | 164865a9ecf4e45aa08ae0c54d0cdc2b312c18a4 (patch) | |
tree | 8ce0d24d1795468fe6ae2140dfd2fcd5ac569806 /vncviewer | |
parent | 939dcd11f8284a3601ca1e371bfb20b3d2ea44ba (diff) | |
download | tigervnc-164865a9ecf4e45aa08ae0c54d0cdc2b312c18a4.tar.gz tigervnc-164865a9ecf4e45aa08ae0c54d0cdc2b312c18a4.zip |
Send a move event when the pointer leaves the viewport as it makes it much
easier to hit the edge of the screen (which is a popular UI element these
days).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4789 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/Viewport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index 10131c1c..0de1b8b1 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -383,8 +383,7 @@ int Viewport::handle(int event) #ifdef HAVE_FLTK_CURSOR window()->cursor(FL_CURSOR_DEFAULT); #endif - return 1; - + // Fall through as we want a last move event to help trigger edge stuff case FL_PUSH: case FL_RELEASE: case FL_DRAG: |