src/events/SDL_mouse.c
changeset 12854 d7d64c1a3969
parent 12753 ba1a66b57385
child 12855 ac0c65535817
     1.1 --- a/src/events/SDL_mouse.c	Wed Jun 12 19:57:30 2019 -0300
     1.2 +++ b/src/events/SDL_mouse.c	Thu Jun 13 01:57:13 2019 -0400
     1.3 @@ -103,7 +103,11 @@
     1.4      if (hint && (*hint == '0' || SDL_strcasecmp(hint, "false") == 0)) {
     1.5          mouse->touch_mouse_events = SDL_FALSE;
     1.6      } else {
     1.7 +#if defined(__MACOSX__)  /* macOS synthesizes its own events for this. */
     1.8 +        mouse->touch_mouse_events = SDL_FALSE;
     1.9 +#else
    1.10          mouse->touch_mouse_events = SDL_TRUE;
    1.11 +#endif
    1.12      }
    1.13  }
    1.14