From e18cdc185ac60bec4f9d00c5402506b006fe3e89 Mon Sep 17 00:00:00 2001 From: xaviergonz Date: Mon, 1 May 2017 23:01:48 +0200 Subject: [PATCH] add the fix for showinactive --- atom/browser/native_window_mac.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index cfa4dc91e3..c926d37246 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -1098,6 +1098,10 @@ void NativeWindowMac::Show() { } void NativeWindowMac::ShowInactive() { + // Reattach the window to the parent to actually show it. + if (parent()) + InternalSetParentWindow(parent(), true); + [window_ orderFrontRegardless]; }