mirror of
https://github.com/electron/electron.git
synced 2026-01-27 00:09:09 -05:00
add the fix for showinactive
This commit is contained in:
@@ -1098,6 +1098,10 @@ void NativeWindowMac::Show() {
|
||||
}
|
||||
|
||||
void NativeWindowMac::ShowInactive() {
|
||||
// Reattach the window to the parent to actually show it.
|
||||
if (parent())
|
||||
InternalSetParentWindow(parent(), true);
|
||||
|
||||
[window_ orderFrontRegardless];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user