Xquartz: Added applicationShouldHandleReopen:hasVisibleWindows to handle dock icon clicking
This commit is contained in:
parent
bc4883e00b
commit
55d9973b05
|
@ -754,6 +754,12 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (BOOL) applicationShouldHandleReopen:(NSApplication *)app
|
||||||
|
hasVisibleWindows:(BOOL)hasVis {
|
||||||
|
DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
void X11ControllerMain(int argc, const char **argv, void (*server_thread) (void *), void *server_arg) {
|
void X11ControllerMain(int argc, const char **argv, void (*server_thread) (void *), void *server_arg) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user