From d09a2e513c6a64c96bf0e60699e88dfe7b17791d Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 30 Jul 2024 12:37:27 +0200 Subject: [PATCH] fix: `showInactive` window not showing (#43079) fix: showInactive window not showing Refs https://github.com/electron/electron/pull/42226 and https://github.com/electron/electron/pull/43033 --- shell/browser/native_window_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/native_window_mac.mm b/shell/browser/native_window_mac.mm index 934623985b37..7f278788f956 100644 --- a/shell/browser/native_window_mac.mm +++ b/shell/browser/native_window_mac.mm @@ -466,7 +466,7 @@ void NativeWindowMac::ShowInactive() { if (parent()) InternalSetParentWindow(parent(), true); - [window_ orderFrontKeepWindowKeyState]; + [window_ orderFrontRegardless]; } void NativeWindowMac::Hide() {