fix: ensure showInactive actually shows (#42227)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
This commit is contained in:
trop[bot] 2024-05-20 15:34:48 -07:00 committed by GitHub
parent 18da367676
commit 7ff3905120
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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