winemac: A window is ineligible to be a Cocoa parent or child while minimized.
This commit is contained in:
parent
84903c5db3
commit
fad48773f6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue