mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-05 13:30:27 +01:00
XQuartz: Moved SetFrontProcess haco to set_front_process
So it is done by the other thread...
This commit is contained in:
parent
a459dde0b4
commit
7429379eb1
1 changed files with 5 additions and 5 deletions
|
|
@ -318,7 +318,11 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
|||
}
|
||||
|
||||
- (void) set_front_process:unused {
|
||||
// [self activateX:YES];
|
||||
/* Hackery needed due to argv[0] hackery */
|
||||
// [self activateX:YES];
|
||||
ProcessSerialNumber psn = { 0, kCurrentProcess };
|
||||
SetFrontProcess(&psn);
|
||||
|
||||
QuartzMessageServerThread(kXDarwinBringAllToFront, 0);
|
||||
}
|
||||
|
||||
|
|
@ -715,10 +719,6 @@ void X11ApplicationSetWindowMenuCheck (int idx) {
|
|||
|
||||
void X11ApplicationSetFrontProcess (void) {
|
||||
message_kit_thread (@selector (set_front_process:), nil);
|
||||
|
||||
/* Hackery needed due to argv[0] hackery */
|
||||
ProcessSerialNumber psn = { 0, kCurrentProcess };
|
||||
SetFrontProcess(&psn);
|
||||
}
|
||||
|
||||
void X11ApplicationSetCanQuit (int state) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue