Commit 27510fae authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Centralize adjusting of window levels using the window server's z-order.

parent 8343e7ce
......@@ -65,8 +65,6 @@ enum {
double mouseMoveDeltaX, mouseMoveDeltaY;
NSUInteger unmatchedMouseDowns;
NSMutableArray* orderedWineWindows;
NSMutableDictionary* originalDisplayModes;
NSArray* cursorFrames;
......@@ -87,7 +85,6 @@ enum {
@property (nonatomic) CGEventSourceKeyboardType keyboardType;
@property (readonly, copy, nonatomic) NSEvent* lastFlagsChanged;
@property (readonly, nonatomic) NSArray* orderedWineWindows;
@property (readonly, nonatomic) BOOL areDisplaysCaptured;
+ (WineApplicationController*) sharedController;
......@@ -108,10 +105,8 @@ enum {
- (void) flipRect:(NSRect*)rect;
- (void) wineWindow:(WineWindow*)window
ordered:(NSWindowOrderingMode)order
relativeTo:(WineWindow*)otherWindow;
- (WineWindow*) frontWineWindow;
- (void) adjustWindowLevels;
- (BOOL) handleEvent:(NSEvent*)anEvent;
- (void) didSendEvent:(NSEvent*)anEvent;
......
......@@ -47,8 +47,6 @@
NSUInteger lastModifierFlags;
NSInteger levelWhenActive;
NSTimer* liveResizeDisplayTimer;
void* imeData;
......@@ -61,8 +59,7 @@
@property (retain, readonly, nonatomic) WineEventQueue* queue;
@property (readonly, nonatomic) BOOL floating;
@property (readonly, nonatomic) NSInteger levelWhenActive;
- (void) adjustWindowLevel;
- (NSInteger) minimumLevelForActive:(BOOL)active;
@end
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