winemac: Don't order the window on-screen in -[WineWindow adjustWindowLevel].

This commit is contained in:
Ken Thomases 2013-04-10 15:32:23 -05:00 committed by Alexandre Julliard
parent d8c72febc8
commit 2e226b9ad8
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ - (void) adjustWindowLevel
Also, any windows which are supposed to be in front of it had 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 better have the same or higher window level. If not, bump them
up. */ up. */
if (index != NSNotFound) if (index != NSNotFound && [self isVisible])
{ {
for (; index > 0; index--) for (; index > 0; index--)
{ {