Revision: 4789
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4789&view=rev
Author:   ossman_
Date:     2011-11-10 13:30:39 +0000 (Thu, 10 Nov 2011)
Log Message:
-----------
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).

Modified Paths:
--------------
    trunk/vncviewer/Viewport.cxx

Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx        2011-11-10 12:37:39 UTC (rev 4788)
+++ trunk/vncviewer/Viewport.cxx        2011-11-10 13:30:39 UTC (rev 4789)
@@ -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:

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to