From 1870ab18d8021ffb561b5196a4405b50611a61b9 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 26 May 2011 14:53:49 +0000 Subject: [PATCH] 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 --- vncviewer/DesktopWindow.cxx | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5