Lion full screen mode support
parent
02ac3299ed
commit
442501c43f
|
@ -18,6 +18,7 @@
|
||||||
{
|
{
|
||||||
[self setExcludedFromWindowsMenu:YES];
|
[self setExcludedFromWindowsMenu:YES];
|
||||||
[self setContentBorderThickness:24.0 forEdge:NSMinYEdge];
|
[self setContentBorderThickness:24.0 forEdge:NSMinYEdge];
|
||||||
|
[self setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
{
|
{
|
||||||
[self setShowsResizeIndicator:NO];
|
[self setShowsResizeIndicator:NO];
|
||||||
[self setExcludedFromWindowsMenu:YES];
|
[self setExcludedFromWindowsMenu:YES];
|
||||||
|
[self setCollectionBehavior:NSWindowCollectionBehaviorFullScreenAuxiliary];
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Reference in New Issue