Commit 9913f278 authored by Tim Clem's avatar Tim Clem Committed by Alexandre Julliard

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: 's avatarTim Clem <tclem@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5e543fee
......@@ -1473,8 +1473,7 @@ static NSString* WineLocalizedString(unsigned int stringID)
if (!cursorClippingEventTap && ![self installEventTap])
return FALSE;
if (clippingCursor && CGRectEqualToRect(rect, cursorClipRect) &&
CGEventTapIsEnabled(cursorClippingEventTap))
if (clippingCursor && CGRectEqualToRect(rect, cursorClipRect))
return TRUE;
err = CGAssociateMouseAndMouseCursorPosition(false);
......
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