XQuartz: Another Exposé fix: F9 doesn't raise all windows

(cherry picked from commit b9cffa20de)
This commit is contained in:
Jeremy Huddleston 2008-03-28 16:38:18 -07:00 committed by Ben Byer
parent f57a2f38ee
commit cc17ce1b73

View File

@ -318,9 +318,10 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
}
- (void) set_front_process:unused {
QuartzMessageServerThread(kXDarwinBringAllToFront, 0);
ProcessSerialNumber psn = { 0, kCurrentProcess };
SetFrontProcess(&psn);
[NSApp activateIgnoringOtherApps:YES];
if ([self modalWindow] == nil)
[self activateX:YES];
}
- (void) set_can_quit:(NSNumber *)state {