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-21 19:33:21 -0700
commit87c64cfd6901083da5a9375d0bde65691d374b5b (patch)
treebdafeacba740ff9276df25d45f8c0cd973369966
parent3bbd77ff98478153afe3251de9ba11d757218213 (diff)
=?utf-8?q?Apple:=20Xserver=20half=20of=20the=20Expos=C3=A9=20bug-fix=20(requires=20updated=20libXplugin=20from=20Apple...=20coming=20with=202.2)
=20(cherry=20picked=20from=20commit=2037be23e8c1d8e5c7a1157e9d66ef3f30a4c472c5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
-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 be5511d30..1cf992d92 100644
--- a/hw/xquartz/X11Application.m
+++ b/hw/xquartz/X11Application.m
@@ -320,6 +320,8 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
SetFrontProcess(&psn);
QuartzMessageServerThread(kXDarwinBringAllToFront, 0);
+ ProcessSerialNumber psn = { 0, kCurrentProcess };
+ SetFrontProcess(&psn);
}
- (void) set_can_quit:(NSNumber *)state {