From b50702acc6442b5b487d0231061fe2bfff7a8c4d Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:01:52 -0500 Subject: [PATCH] fix: `showInactive` window not showing (#43103) 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 d696874da6e4..6c284bfd1f1b 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() {