Commit 2e226b9a authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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

parent d8c72feb
......@@ -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--)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment