winemac: A window is ineligible to be a Cocoa parent or child while minimized.

This commit is contained in:
Ken Thomases 2013-08-30 00:00:58 -05:00 committed by Alexandre Julliard
parent 84903c5db3
commit fad48773f6
1 changed files with 4 additions and 0 deletions

View File

@ -1383,6 +1383,8 @@ - (void)windowDidDeminiaturize:(NSNotification *)notification
ignore_windowDeminiaturize = FALSE;
[self becameEligibleParentOrChild];
if (fullscreen && [self isOnActiveSpace])
[controller updateFullscreenWindows];
[controller adjustWindowLevels];
@ -1483,6 +1485,8 @@ - (void) windowWillClose:(NSNotification*)notification
- (void)windowWillMiniaturize:(NSNotification *)notification
{
[self becameIneligibleParentOrChild];
if (!ignore_windowMiniaturize)
{
macdrv_event* event;