Commit 8747df09 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Treat mouse moves in a window title bar as outside the window.

Don't queue mouse-moved events. Reset the cursor.
parent 761092a2
......@@ -1352,6 +1352,8 @@ int macdrv_err_on;
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]])
......
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