diff --git a/atom/browser/browser_mac.mm b/atom/browser/browser_mac.mm index 67c1171e6e6d..6112a89200ce 100644 --- a/atom/browser/browser_mac.mm +++ b/atom/browser/browser_mac.mm @@ -28,7 +28,7 @@ void Browser::SetShutdownHandler(base::Callback handler) { } void Browser::Focus() { - [[AtomApplication sharedApplication] activateIgnoringOtherApps:YES]; + [[AtomApplication sharedApplication] activateIgnoringOtherApps:NO]; } void Browser::Hide() { diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index 81f039dbcb2b..39576c04e7f1 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -521,7 +521,7 @@ void NativeWindowMac::Focus(bool focus) { return; if (focus) { - [[NSApplication sharedApplication] activateIgnoringOtherApps:YES]; + [[NSApplication sharedApplication] activateIgnoringOtherApps:NO]; [window_ makeKeyAndOrderFront:nil]; } else { [window_ orderBack:nil];