Skip to content

Commit e588e11

Browse files
committed
Merge pull request nwjs#2583 from fancycode/no_ignore_other_apps_on_show
Don't activate app unconditionally on window "Show".
2 parents ddfb34f + e5def18 commit e588e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/native_window_mac.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ - (void)drawRect:(NSRect)dirtyRect {
478478

479479
void NativeWindowCocoa::Show() {
480480
NSApplication *myApp = [NSApplication sharedApplication];
481-
[myApp activateIgnoringOtherApps:YES];
481+
[myApp activateIgnoringOtherApps:NO];
482482
content::RenderWidgetHostView* rwhv =
483483
shell_->web_contents()->GetRenderWidgetHostView();
484484

0 commit comments

Comments
 (0)