From 164865a9ecf4e45aa08ae0c54d0cdc2b312c18a4 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 10 Nov 2011 13:30:39 +0000 Subject: [PATCH] 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 --- vncviewer/Viewport.cxx | 3 +-- 1 file changed, 1 insertion(+), 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: -- 2.39.5