Commit 7f764bd8d3ff9baa3038ed8cfca31f4c8aefb223

Sam Lantinga 2016-11-26T10:26:36

once more - iterating on this is annoying

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/video/cocoa/SDL_cocoamousetap.m b/src/video/cocoa/SDL_cocoamousetap.m
index 0b5b730..89b7485 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;
     }