forked from Mirrors/wine-wine
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: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
5ebb83ad4e
commit
ff3766c759
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue