Ken Thomases : winemac: Fix ordering of windows owned by same owner when on inactive desktop space .
Alexandre Julliard
julliard at winehq.org
Fri Jun 28 15:02:29 CDT 2013
Module: wine
Branch: master
Commit: 941ce31adb9264649dd3b6b4f41e35057db464c5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=941ce31adb9264649dd3b6b4f41e35057db464c5
Author: Ken Thomases <ken at codeweavers.com>
Date: Thu Jun 27 22:14:08 2013 -0500
winemac: Fix ordering of windows owned by same owner when on inactive desktop space.
---
dlls/winemac.drv/cocoa_window.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m
index da97e6a..770056e 100644
--- a/dlls/winemac.drv/cocoa_window.m
+++ b/dlls/winemac.drv/cocoa_window.m
@@ -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]]];
More information about the wine-cvs
mailing list