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

Log Message:
-----------
Toggle full screen based on changes in the options window.

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

Modified: trunk/vncviewer/DesktopWindow.cxx
===================================================================
--- trunk/vncviewer/DesktopWindow.cxx   2011-05-26 14:57:25 UTC (rev 4451)
+++ trunk/vncviewer/DesktopWindow.cxx   2011-05-26 14:57:51 UTC (rev 4452)
@@ -301,5 +301,10 @@
     self->grabKeyboard();
   else
     self->ungrabKeyboard();
+
+  if (fullScreen && !self->fullscreen_active())
+    self->fullscreen();
+  else if (!fullScreen && self->fullscreen_active())
+    self->fullscreen_off();
 #endif
 }


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