forked from AuroraMiddleware/gtk
macos: set main window in addition to key
If we are showing the window, we might also want to make it the main window for the application when shown.
This commit is contained in:
parent
84014e3414
commit
9fa5378d83
@ -266,6 +266,9 @@ typedef NSString *CALayerContentsGravity;
|
||||
else
|
||||
[self orderFront:nil];
|
||||
|
||||
if (makeKey && [self canBecomeMainWindow])
|
||||
[self makeMainWindow];
|
||||
|
||||
inShowOrHide = NO;
|
||||
|
||||
[self checkSendEnterNotify];
|
||||
|
Loading…
Reference in New Issue
Block a user