Commit ff3766c7 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Use the -close method rather than -orderOut: for full-screen windows.

Simply ordering them out leaves the user on the full-screen space, which is now an empty black screen. Closing the window closes the space, too. Signed-off-by: 's avatarKen Thomases <ken@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5ebb83ad
......@@ -1673,7 +1673,7 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi
[parent grabDockIconSnapshotFromWindow:self force:NO];
[self becameIneligibleParentOrChild];
if ([self isMiniaturized])
if ([self isMiniaturized] || [self styleMask] & NSFullScreenWindowMask)
{
fakingClose = TRUE;
[self close];
......
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