XQuartz: Toggle off fullscreen mode when XQuartz is hidden
http://xquartz.macosforge.org/trac/ticket/478 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
c2ba3f339f
commit
47b457541b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user