From 851b16fd828d61c7eaeb5eeb3ce6fda226604e12 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 14 Mar 2008 17:31:54 -0700 Subject: [PATCH] =?UTF-8?q?Apple:=20Xserver=20half=20of=20the=20Expos?= =?UTF-8?q?=C3=A9=20bug-fix=20(requires=20updated=20libXplugin=20from=20Ap?= =?UTF-8?q?ple...=20coming=20with=202.2)=20(cherry=20picked=20from=20commi?= =?UTF-8?q?t=2037be23e8c1d8e5c7a1157e9d66ef3f30a4c472c5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw/xquartz/X11Application.m | 2 ++ 1 file changed, 2 insertions(+) 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 {