From 87c64cfd6901083da5a9375d0bde65691d374b5b Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 14 Mar 2008 17:31:54 -0700 Subject: [PATCH] =?UTF-8?q?=3D=3Futf-8=3Fq=3FApple:=3D20Xserver=3D20half?= =?UTF-8?q?=3D20of=3D20the=3D20Expos=3DC3=3DA9=3D20bug-fix=3D20(requires?= =?UTF-8?q?=3D20updated=3D20libXplugin=3D20from=3D20Apple...=3D20coming=3D?= =?UTF-8?q?20with=3D202.2)?= =20(cherry=20picked=20from=20commit=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 {