We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc97ad commit aa9e393Copy full SHA for aa9e393
src/browser/native_window_mac.mm
@@ -481,6 +481,8 @@ - (void)drawRect:(NSRect)dirtyRect {
481
}
482
483
void NativeWindowCocoa::Focus(bool focus) {
484
+ NSApplication *myApp = [NSApplication sharedApplication];
485
+ [myApp activateIgnoringOtherApps:YES];
486
if (focus && [window() isVisible])
487
[window() makeKeyAndOrderFront:nil];
488
else
0 commit comments