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

This commit is contained in:
Ken Thomases 2013-06-04 04:59:39 -05:00 committed by Alexandre Julliard
parent 4c651e39e4
commit 841f158d81
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ - (BOOL) orderBelow:(WineWindow*)prev orAbove:(WineWindow*)next
{
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;