mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
set minimum size on all windows, also keep invisible windows out of Expos��.b=338723 r=mento
This commit is contained in:
parent
101371d410
commit
e44a488f7b
@ -360,6 +360,11 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
|
||||
[mWindow setLevel:NSPopUpMenuWindowLevel];
|
||||
[mWindow setHasShadow:YES];
|
||||
}
|
||||
else if (mWindowType == eWindowType_invisible) {
|
||||
[mWindow setLevel:kCGDesktopWindowLevelKey];
|
||||
}
|
||||
|
||||
[mWindow setContentMinSize:NSMakeSize(60, 60)];
|
||||
|
||||
[mWindow setReleasedWhenClosed:NO];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user