XQuartz: Fixed cmd-tab to bring all windows forward.
(cherry picked from commit e48e2ce931
)
This commit is contained in:
parent
a368ab757e
commit
a8b8700c73
|
@ -264,7 +264,8 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
|||
_appFlags._active = YES;
|
||||
|
||||
[self activateX:YES];
|
||||
if ([e data2] & 0x10) X11ApplicationSetFrontProcess();
|
||||
if ([e data2] & 0x10)
|
||||
DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -754,12 +754,6 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (OSX_BOOL) applicationShouldHandleReopen:(NSApplication *)app
|
||||
hasVisibleWindows:(OSX_BOOL)hasVis {
|
||||
DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
void X11ControllerMain(int argc, const char **argv, void (*server_thread) (void *), void *server_arg) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user