Commit 941ce31a authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Fix ordering of windows owned by same owner when on inactive desktop space.

parent 0d20ac02
......@@ -719,7 +719,7 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
// Get the z-order from the window server and modify it to reflect the
// requested window ordering.
windowNumbers = [[[[self class] windowNumbersWithOptions:0] mutableCopy] autorelease];
windowNumbers = [[[[self class] windowNumbersWithOptions:NSWindowNumberListAllSpaces] mutableCopy] autorelease];
childWindowNumber = [NSNumber numberWithInteger:[child windowNumber]];
[windowNumbers removeObject:childWindowNumber];
otherIndex = [windowNumbers indexOfObject:[NSNumber numberWithInteger:[other windowNumber]]];
......
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