Commit 4af5d5bd authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: When exiting Cocoa full-screen mode for a no-longer-eligible window,…

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.
parent 3a552067
......@@ -709,7 +709,7 @@ static inline NSUInteger adjusted_modifiers_for_option_behavior(NSUInteger modif
behavior &= ~NSWindowCollectionBehaviorFullScreenPrimary;
behavior |= NSWindowCollectionBehaviorFullScreenAuxiliary;
if (style & NSFullScreenWindowMask)
[self toggleFullScreen:nil];
[super toggleFullScreen:nil];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment