Revision: 4463
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4463&view=rev
Author: ossman_
Date: 2011-06-03 11:45:15 +0000 (Fri, 03 Jun 2011)
Log Message:
-----------
Make sure the popup menu is reset to the same state each go.
Modified Paths:
--------------
trunk/vncviewer/Viewport.cxx
Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx 2011-06-02 15:41:16 UTC (rev 4462)
+++ trunk/vncviewer/Viewport.cxx 2011-06-03 11:45:15 UTC (rev 4463)
@@ -665,6 +665,10 @@
if (window()->contains(Fl::focus()))
Fl::focus(NULL);
+ // Make sure the menu is reset to its initial state between goes or
+ // it will start up highlighting the previously selected entry.
+ contextMenu->value(-1);
+
m = contextMenu->popup();
if (m == NULL)
return;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits