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:
Ken Thomases 2013-10-17 23:44:43 -05:00 committed by Alexandre Julliard
parent 761092a2fe
commit 8747df094d
1 changed files with 2 additions and 0 deletions

View File

@ -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]])