diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-10-08 18:39:41 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-10-08 18:45:17 -0700 |
commit | d13c3cbd43bc5e6b459c7df822292cf02ad2c9c4 (patch) | |
tree | 1f22a573636952a3920f6bfa550943b7811efd9c /hw/xquartz/X11Controller.m | |
parent | dc166bf6423f4243ea05f17340ff9ff99ecad74b (diff) |
XQuartz: Some motion made towards supporting fullscreen.
(cherry picked from commit 99be3d68b64059caada739a373e5e01844c776e0)
Diffstat (limited to 'hw/xquartz/X11Controller.m')
-rw-r--r-- | hw/xquartz/X11Controller.m | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m index 2482c05f6..85133868b 100644 --- a/hw/xquartz/X11Controller.m +++ b/hw/xquartz/X11Controller.m @@ -595,10 +595,8 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row - (IBAction) enable_fullscreen_changed:sender { int value = ![enable_fullscreen intValue]; - -#ifdef DARWIN_DDX_MISSING + DarwinSendDDXEvent(kXquartzSetRootless, 1, value); -#endif [NSApp prefs_set_boolean:@PREFS_ROOTLESS value:value]; [NSApp prefs_synchronize]; @@ -606,9 +604,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row - (IBAction) toggle_fullscreen:sender { -#ifdef DARWIN_DDX_MISSING DarwinSendDDXEvent(kXquartzToggleFullscreen, 0); -#endif } - (void) set_can_quit:(OSX_BOOL)state |