XQuartz: Use set_front_process rather than X11ApplicationSetFrontProcess since we're already in the AppKit thread

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston 2011-09-20 20:39:06 -07:00
parent 206b30ebc6
commit 38e9e28ba2

View File

@ -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"));