add the fix for showinactive

This commit is contained in:
xaviergonz 2017-05-01 23:01:48 +02:00 committed by Cheng Zhao
parent d0c91daaed
commit e18cdc185a

View file

@ -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];
}