Revision: 4832
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4832&view=rev
Author:   ossman_
Date:     2012-01-05 12:37:04 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
Forgot some comments for the mouse cursor workaround.

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

Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx        2012-01-05 12:32:03 UTC (rev 4831)
+++ trunk/vncviewer/Viewport.cxx        2012-01-05 12:37:04 UTC (rev 4832)
@@ -887,6 +887,8 @@
   // initialize context menu before display
   initContextMenu();
 
+  // Unfortunately FLTK doesn't reliably restore the mouse pointer for
+  // menus, so we have to help it out.
 #ifdef HAVE_FLTK_CURSOR
   if (Fl::belowmouse() == this)
     window()->cursor(FL_CURSOR_DEFAULT);
@@ -894,6 +896,7 @@
 
   m = contextMenu->popup();
 
+  // Back to our proper mouse pointer.
 #ifdef HAVE_FLTK_CURSOR
   if (Fl::belowmouse() == this)
     window()->cursor(cursor, cursorHotspot.x, cursorHotspot.y);

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to