From: Pierre Ossman Date: Thu, 26 May 2011 14:53:49 +0000 (+0000) Subject: Update the full screen setting when the state is toggled by other means. X-Git-Tag: v1.1.90~328 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1870ab18d8021ffb561b5196a4405b50611a61b9;p=tigervnc.git Update the full screen setting when the state is toggled by other means. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4450 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index ce9e9aba..a4485cde 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -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;