winemac: When exiting Cocoa full-screen mode for a no-longer-eligible window, bypass the override of -toggleFullScreen:.
The override checks the disabled state of the window, but that's for user- driven changes, not programmatic changes.
This commit is contained in:
parent
3a55206787
commit
4af5d5bd99
|
@ -709,7 +709,7 @@ - (void) adjustFullScreenBehavior:(NSWindowCollectionBehavior)behavior
|
|||
behavior &= ~NSWindowCollectionBehaviorFullScreenPrimary;
|
||||
behavior |= NSWindowCollectionBehaviorFullScreenAuxiliary;
|
||||
if (style & NSFullScreenWindowMask)
|
||||
[self toggleFullScreen:nil];
|
||||
[super toggleFullScreen:nil];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue