]> source.dussan.org Git - tigervnc.git/commitdiff
Update the full screen setting when the state is toggled by other means.
authorPierre Ossman <ossman@cendio.se>
Thu, 26 May 2011 14:53:49 +0000 (14:53 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 26 May 2011 14:53:49 +0000 (14:53 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4450 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/DesktopWindow.cxx

index ce9e9ababb229ab5ad98c1ff9ccfb9f63ea1e781..a4485cde57332098bb3db70b520abe7e074c0356 100644 (file)
@@ -179,6 +179,8 @@ int DesktopWindow::handle(int event)
     // FIXME: We reassert the keyboard grabbing on focus/unfocus as FLTK
     //        releases the grab when someone calls Fl::grab(0)
   case FL_FULLSCREEN:
+    fullScreen.setParam(fullscreen_active());
+
     if (!fullscreenSystemKeys)
       break;