diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-03-28 16:38:18 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-03-28 16:38:18 -0700 |
commit | b9cffa20debae73737c674bf75ab65db1bd74556 (patch) | |
tree | 1088cda80af1d2a36d6e8ecfa8472a7ab269deb0 | |
parent | 57308bbc9bf8b60f09d1003e44fd7bcb4af1ef2e (diff) |
XQuartz: Another Exposé fix: F9 doesn't raise all windows
-rw-r--r-- | hw/xquartz/X11Application.m | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index f6fa7e9f4..561059278 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -324,9 +324,10 @@ static void message_kit_thread (SEL selector, NSObject *arg) { } - (void) set_front_process:unused { - QuartzMessageServerThread(kXDarwinBringAllToFront, 0); - ProcessSerialNumber psn = { 0, kCurrentProcess }; - SetFrontProcess(&psn); + [NSApp activateIgnoringOtherApps:YES]; + + if ([self modalWindow] == nil) + [self activateX:YES]; } - (void) set_can_quit:(NSNumber *)state { |