Commit 841f158d authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Don't accidentally unminimize a window when trying to change z-order.

parent 4c651e39
......@@ -708,7 +708,7 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
{
WineApplicationController* controller = [WineApplicationController sharedController];
BOOL on_screen = frame_intersects_screens([self frame], [NSScreen screens]);
if (on_screen)
if (on_screen && ![self isMiniaturized])
{
BOOL needAdjustWindowLevels = FALSE;
......
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