From 35b73514b71740f762c12f144e1922deb5484d8a Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:02:03 -0500 Subject: [PATCH] fix: `showInactive` window not showing (#43102) fix: showInactive window not showing Refs https://github.com/electron/electron/pull/42226 and https://github.com/electron/electron/pull/43033 Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr --- 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 e31b87310f6b..9fd4fe063af0 100644 --- a/shell/browser/native_window_mac.mm +++ b/shell/browser/native_window_mac.mm @@ -469,7 +469,7 @@ void NativeWindowMac::ShowInactive() { if (parent()) InternalSetParentWindow(parent(), true); - [window_ orderFrontKeepWindowKeyState]; + [window_ orderFrontRegardless]; } void NativeWindowMac::Hide() {