diff options
author | marha <marha@users.sourceforge.net> | 2012-02-01 08:27:16 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-02-01 08:27:16 +0100 |
commit | 58ff764d4111bfaa7360c57bc62dd620fbdce06f (patch) | |
tree | adc5c52beb88c10ecb1df7b33983e901afc7dea0 /xorg-server/hw/xquartz/X11Controller.m | |
parent | c7a181e449c6a2ea5f0ad0514865e7c559dbe6dc (diff) | |
download | vcxsrv-58ff764d4111bfaa7360c57bc62dd620fbdce06f.tar.gz vcxsrv-58ff764d4111bfaa7360c57bc62dd620fbdce06f.tar.bz2 vcxsrv-58ff764d4111bfaa7360c57bc62dd620fbdce06f.zip |
xserver mesa pixman xkbcomp xkeyboard-config git update 1 feb 2012
Diffstat (limited to 'xorg-server/hw/xquartz/X11Controller.m')
-rw-r--r-- | xorg-server/hw/xquartz/X11Controller.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg-server/hw/xquartz/X11Controller.m b/xorg-server/hw/xquartz/X11Controller.m index 01526b7d0..3de4e139d 100644 --- a/xorg-server/hw/xquartz/X11Controller.m +++ b/xorg-server/hw/xquartz/X11Controller.m @@ -773,6 +773,13 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row - (void) applicationDidHide:(NSNotification *)notify { DarwinSendDDXEvent(kXquartzControllerNotify, 1, AppleWMHideAll); + + /* Toggle off fullscreen mode to leave our non-default video + * mode and hide our guard window. + */ + if (!XQuartzIsRootless && XQuartzFullscreenVisible) { + DarwinSendDDXEvent(kXquartzToggleFullscreen, 0); + } } - (void) applicationDidUnhide:(NSNotification *)notify |