Browse Source

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 <[email protected]>
trop[bot] 8 months ago
parent
commit
b50702acc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shell/browser/native_window_mac.mm

+ 1 - 1
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() {