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

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

Co-authored-by: zaza <tamas@miro.com>

* add test

Co-authored-by: Tamás Zahola <tzahola@gmail.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: zaza <tamas@miro.com>
Co-authored-by: Tamás Zahola <tzahola@gmail.com>
This commit is contained in:
trop[bot]
2023-11-30 15:06:58 +01:00
committed by GitHub
parent a0af9e0e3c
commit 4cfc4bf074
2 changed files with 30 additions and 0 deletions

View File

@@ -512,6 +512,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);