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;
|
ignore_windowDeminiaturize = FALSE;
|
||||||
|
|
||||||
|
[self becameEligibleParentOrChild];
|
||||||
|
|
||||||
if (fullscreen && [self isOnActiveSpace])
|
if (fullscreen && [self isOnActiveSpace])
|
||||||
[controller updateFullscreenWindows];
|
[controller updateFullscreenWindows];
|
||||||
[controller adjustWindowLevels];
|
[controller adjustWindowLevels];
|
||||||
|
@ -1483,6 +1485,8 @@ - (void) windowWillClose:(NSNotification*)notification
|
||||||
|
|
||||||
- (void)windowWillMiniaturize:(NSNotification *)notification
|
- (void)windowWillMiniaturize:(NSNotification *)notification
|
||||||
{
|
{
|
||||||
|
[self becameIneligibleParentOrChild];
|
||||||
|
|
||||||
if (!ignore_windowMiniaturize)
|
if (!ignore_windowMiniaturize)
|
||||||
{
|
{
|
||||||
macdrv_event* event;
|
macdrv_event* event;
|
||||||
|
|
Loading…
Reference in New Issue