mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user