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

This commit is contained in:
Ken Thomases 2013-06-27 22:14:08 -05:00 committed by Alexandre Julliard
parent 0d20ac02f7
commit 941ce31adb
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ - (void) order:(NSWindowOrderingMode)mode childWindow:(WineWindow*)child relativ
// 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]]];