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:
Ken Thomases 2015-03-12 18:44:44 -05:00 committed by Alexandre Julliard
parent 3a55206787
commit 4af5d5bd99
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ - (void) adjustFullScreenBehavior:(NSWindowCollectionBehavior)behavior
behavior &= ~NSWindowCollectionBehaviorFullScreenPrimary;
behavior |= NSWindowCollectionBehaviorFullScreenAuxiliary;
if (style & NSFullScreenWindowMask)
[self toggleFullScreen:nil];
[super toggleFullScreen:nil];
}
}