diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index c57ceee97fb3..0f5b39ee5b33 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -386,6 +386,10 @@ bool NativeWindowMac::IsFocused() { } void NativeWindowMac::Show() { + // This method is supposed to put focus on window, however if the app does not + // have focus then "makeKeyAndOrderFront" will only show the window. + [NSApp activateIgnoringOtherApps:YES]; + [window_ makeKeyAndOrderFront:nil]; }