winemac.drv: Remove extraneous CGEventTapIsEnabled check.
We no longer enable or disable the event tap manually, and it re-enables itself on kCGEventTapDisabledByTimeout, so this check is not needed. Signed-off-by: Tim Clem <tclem@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5e543fee7a
commit
9913f27862
|
@ -1473,8 +1473,7 @@ - (BOOL) startClippingCursor:(CGRect)rect
|
|||
if (!cursorClippingEventTap && ![self installEventTap])
|
||||
return FALSE;
|
||||
|
||||
if (clippingCursor && CGRectEqualToRect(rect, cursorClipRect) &&
|
||||
CGEventTapIsEnabled(cursorClippingEventTap))
|
||||
if (clippingCursor && CGRectEqualToRect(rect, cursorClipRect))
|
||||
return TRUE;
|
||||
|
||||
err = CGAssociateMouseAndMouseCursorPosition(false);
|
||||
|
|
Loading…
Reference in New Issue