Commit 70c4f43e authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Ignore mouse capture during window drags for routing click and move events.

parent 2d487e22
......@@ -1857,14 +1857,14 @@ int macdrv_err_on;
type == NSRightMouseDragged || type == NSOtherMouseDragged)
{
[self handleMouseMove:anEvent];
ret = mouseCaptureWindow != nil;
ret = mouseCaptureWindow && ![windowsBeingDragged count];
}
else if (type == NSLeftMouseDown || type == NSLeftMouseUp ||
type == NSRightMouseDown || type == NSRightMouseUp ||
type == NSOtherMouseDown || type == NSOtherMouseUp)
{
[self handleMouseButton:anEvent];
ret = mouseCaptureWindow != nil;
ret = mouseCaptureWindow && ![windowsBeingDragged count];
}
else if (type == NSScrollWheel)
{
......
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