winemac: Treat mouse moves in a window title bar as outside the window.
Don't queue mouse-moved events. Reset the cursor.
This commit is contained in:
parent
761092a2fe
commit
8747df094d
|
@ -1352,6 +1352,8 @@ - (void) handleMouseMove:(NSEvent*)anEvent
|
|||
windowUnderNumber = [NSWindow windowNumberAtPoint:point
|
||||
belowWindowWithWindowNumber:0];
|
||||
targetWindow = (WineWindow*)[NSApp windowWithWindowNumber:windowUnderNumber];
|
||||
if (!NSMouseInRect(point, [targetWindow contentRectForFrameRect:[targetWindow frame]], NO))
|
||||
targetWindow = nil;
|
||||
}
|
||||
|
||||
if ([targetWindow isKindOfClass:[WineWindow class]])
|
||||
|
|
Loading…
Reference in New Issue