=?utf-8?q?XQuartz:=20Another=20Expos=C3=A9=20fix:=20F9=20doesn't=20raise=20all=20windows

=20(cherry=20picked=20from=20commit=20b9cffa20debae73737c674bf75ab65db1bd74556)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
This commit is contained in:
Jeremy Huddleston 2008-03-28 17:02:02 -07:00
parent 933ffcdf7d
commit bd28839eb8

View File

@ -314,14 +314,10 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
}
- (void) set_front_process:unused {
/* Hackery needed due to argv[0] hackery */
// [self activateX:YES];
ProcessSerialNumber psn = { 0, kCurrentProcess };
SetFrontProcess(&psn);
[NSApp activateIgnoringOtherApps:YES];
QuartzMessageServerThread(kXDarwinBringAllToFront, 0);
ProcessSerialNumber psn = { 0, kCurrentProcess };
SetFrontProcess(&psn);
if ([self modalWindow] == nil)
[self activateX:YES];
}
- (void) set_can_quit:(NSNumber *)state {