From 7f764bd8d3ff9baa3038ed8cfca31f4c8aefb223 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Nov 2016 10:26:36 -0800 Subject: [PATCH] once more - iterating on this is annoying --- src/video/cocoa/SDL_cocoamousetap.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/cocoa/SDL_cocoamousetap.m b/src/video/cocoa/SDL_cocoamousetap.m index 0b5b730e9..89b74851b 100644 --- a/src/video/cocoa/SDL_cocoamousetap.m +++ b/src/video/cocoa/SDL_cocoamousetap.m @@ -74,6 +74,9 @@ Cocoa_MouseTapCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef event return NULL; } case kCGEventTapDisabledByUserInput: + { + return NULL; + } default: break; }