Revision: 5004
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5004&view=rev
Author:   ossman_
Date:     2012-10-17 07:59:20 +0000 (Wed, 17 Oct 2012)
Log Message:
-----------
Starting in full screen was misbehaving because we were waiting
for a FL_FULLSCREEN event to set things up properly, and FLTK
doesn't emit this for a hidden window.

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

Modified: trunk/vncviewer/DesktopWindow.cxx
===================================================================
--- trunk/vncviewer/DesktopWindow.cxx   2012-10-11 09:17:19 UTC (rev 5003)
+++ trunk/vncviewer/DesktopWindow.cxx   2012-10-17 07:59:20 UTC (rev 5004)
@@ -136,6 +136,13 @@
 
   show();
 
+  // Full screen events are not sent out for a hidden window,
+  // so send a fake one here to set up things properly.
+#ifdef HAVE_FLTK_FULLSCREEN
+  if (fullscreen_active())
+    handle(FL_FULLSCREEN);
+#endif
+
   // Unfortunately, current FLTK does not allow us to set the
   // maximized property on Windows and X11 before showing the window.
   // See STR #2083 and STR #2178

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


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to