Skip to content
Snippets Groups Projects
Commit 9913f278 authored by Tim Clem's avatar Tim Clem Committed by Alexandre Julliard
Browse files

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: default avatarTim Clem <tclem@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 5e543fee
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment