winemac: Don't order the window on-screen in -[WineWindow adjustWindowLevel].
This commit is contained in:
parent
d8c72febc8
commit
2e226b9ad8
|
@ -437,7 +437,7 @@ - (void) adjustWindowLevel
|
|||
Also, any windows which are supposed to be in front of it had
|
||||
better have the same or higher window level. If not, bump them
|
||||
up. */
|
||||
if (index != NSNotFound)
|
||||
if (index != NSNotFound && [self isVisible])
|
||||
{
|
||||
for (; index > 0; index--)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue