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

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

parent 84903c5d
......@@ -1383,6 +1383,8 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
ignore_windowDeminiaturize = FALSE;
[self becameEligibleParentOrChild];
if (fullscreen && [self isOnActiveSpace])
[controller updateFullscreenWindows];
[controller adjustWindowLevels];
......@@ -1483,6 +1485,8 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
- (void)windowWillMiniaturize:(NSNotification *)notification
{
[self becameIneligibleParentOrChild];
if (!ignore_windowMiniaturize)
{
macdrv_event* event;
......
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