winemac: Don't accidentally unminimize a window when trying to change z-order.
This commit is contained in:
parent
4c651e39e4
commit
841f158d81
|
@ -708,7 +708,7 @@ - (BOOL) orderBelow:(WineWindow*)prev orAbove:(WineWindow*)next
|
||||||
{
|
{
|
||||||
WineApplicationController* controller = [WineApplicationController sharedController];
|
WineApplicationController* controller = [WineApplicationController sharedController];
|
||||||
BOOL on_screen = frame_intersects_screens([self frame], [NSScreen screens]);
|
BOOL on_screen = frame_intersects_screens([self frame], [NSScreen screens]);
|
||||||
if (on_screen)
|
if (on_screen && ![self isMiniaturized])
|
||||||
{
|
{
|
||||||
BOOL needAdjustWindowLevels = FALSE;
|
BOOL needAdjustWindowLevels = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue