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:
parent
206b30ebc6
commit
38e9e28ba2
|
@ -356,7 +356,7 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
||||||
*/
|
*/
|
||||||
_appFlags._active = YES;
|
_appFlags._active = YES;
|
||||||
|
|
||||||
X11ApplicationSetFrontProcess();
|
[self set_front_process:nil];
|
||||||
|
|
||||||
/* Get the Spaces preference for SwitchOnActivate */
|
/* Get the Spaces preference for SwitchOnActivate */
|
||||||
(void)CFPreferencesAppSynchronize(CFSTR("com.apple.dock"));
|
(void)CFPreferencesAppSynchronize(CFSTR("com.apple.dock"));
|
||||||
|
|
Loading…
Reference in New Issue