fix: add missing set_wants_to_be_visible(true) to NativeWindowMac::ShowInactive() (#40546)

* fix: add missing set_wants_to_be_visible(true) to NativeWindowMac::ShowInactive()

* add test
This commit is contained in:
Tamás Zahola 2023-11-30 12:43:22 +01:00 committed by GitHub
parent b2fcc15ec7
commit 39ee94089a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -534,6 +534,8 @@ void NativeWindowMac::Show() {
}
void NativeWindowMac::ShowInactive() {
set_wants_to_be_visible(true);
// Reattach the window to the parent to actually show it.
if (parent())
InternalSetParentWindow(parent(), true);