src/video/wayland/SDL_waylandevents.c
changeset 12404 eb60e952b13f
parent 12342 7cec5c0510ae
child 12455 bc838d7a29dc
     1.1 --- a/src/video/wayland/SDL_waylandevents.c	Wed Nov 07 07:52:39 2018 -0800
     1.2 +++ b/src/video/wayland/SDL_waylandevents.c	Sat Nov 10 16:15:48 2018 -0400
     1.3 @@ -614,7 +614,7 @@
     1.4      }
     1.5  
     1.6      if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !input->touch) {
     1.7 -        SDL_AddTouch(1, "wayland_touch");
     1.8 +        SDL_AddTouch(1, SDL_TOUCH_DEVICE_DIRECT, "wayland_touch");
     1.9          input->touch = wl_seat_get_touch(seat);
    1.10          wl_touch_set_user_data(input->touch, input);
    1.11          wl_touch_add_listener(input->touch, &touch_listener,