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
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index 10131c1..0de1b8b 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -383,8 +383,7 @@
#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: