Skip to content

Commit e5def18

Browse files
committed
Don't activate app unconditionally on window "Show".
Should fix nwjs#1032.
1 parent ad30a9b commit e5def18

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)