diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-09-20 20:39:06 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-09-28 13:31:48 -0700 |
commit | 38e9e28ba2fbffee52ad9889ef6d4e94c7af3e10 (patch) | |
tree | 83eb33f90af9ed315690d5b48dbbf72c8b4c90bb | |
parent | 206b30ebc608d29a91cc18665d89e887cac4dba3 (diff) |
XQuartz: Use set_front_process rather than X11ApplicationSetFrontProcess since we're already in the AppKit thread
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | hw/xquartz/X11Application.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 7fd7dab3c..12ff53c88 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -356,7 +356,7 @@ static void message_kit_thread (SEL selector, NSObject *arg) { */ _appFlags._active = YES; - X11ApplicationSetFrontProcess(); + [self set_front_process:nil]; /* Get the Spaces preference for SwitchOnActivate */ (void)CFPreferencesAppSynchronize(CFSTR("com.apple.dock")); |