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

oldstable
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 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
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--)
{