Revision: 4448
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4448&view=rev
Author:   ossman_
Date:     2011-05-26 14:16:02 +0000 (Thu, 26 May 2011)

Log Message:
-----------
Fix some graphics bugs that occurred on Win32 when using the popup menu.

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

Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx        2011-05-26 14:14:06 UTC (rev 4447)
+++ trunk/vncviewer/Viewport.cxx        2011-05-26 14:16:02 UTC (rev 4448)
@@ -78,6 +78,10 @@
   setServerPF(serverPF);
 
   contextMenu = new Fl_Menu_Button(0, 0, 0, 0);
+  // Setting box type to FL_NO_BOX prevents it from trying to draw the
+  // button component (which we don't want)
+  contextMenu->box(FL_NO_BOX);
+
   initContextMenu();
 
   setMenuKey();


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

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to