Sfoglia il codice sorgente

once more - iterating on this is annoying

Sam Lantinga 8 anni fa
parent
commit
7f764bd8d3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/video/cocoa/SDL_cocoamousetap.m

+ 3 - 0
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;
     }