summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@tifa.local>2008-03-14 17:31:54 -0700
committerJeremy Huddleston <jeremy@tifa.local>2008-03-14 17:31:54 -0700
commit37be23e8c1d8e5c7a1157e9d66ef3f30a4c472c5 (patch)
treeb7fef1b6fada730975a6c0f770ee3e48c70c8602
parent7f47e6ae0e88b3122583241e140d486e07af1e91 (diff)
Apple: Xserver half of the Exposé bug-fix (requires updated libXplugin from Apple... coming with 2.2)
-rw-r--r--hw/xquartz/X11Application.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m
index 23f7ef7d6..69474cbd6 100644
--- a/hw/xquartz/X11Application.m
+++ b/hw/xquartz/X11Application.m
@@ -325,6 +325,8 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
- (void) set_front_process:unused {
QuartzMessageServerThread(kXDarwinBringAllToFront, 0);
+ ProcessSerialNumber psn = { 0, kCurrentProcess };
+ SetFrontProcess(&psn);
}
- (void) set_can_quit:(NSNumber *)state {