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
This commit is contained in:
Shelley Vohr 2024-07-30 12:37:27 +02:00 committed by GitHub
parent 7e9eb9e3f1
commit d09a2e513c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -466,7 +466,7 @@ void NativeWindowMac::ShowInactive() {
if (parent())
InternalSetParentWindow(parent(), true);
[window_ orderFrontKeepWindowKeyState];
[window_ orderFrontRegardless];
}
void NativeWindowMac::Hide() {