Lines Matching refs:touch
64 struct wl_touch *touch; member
511 touch_handler_down(void *data, struct wl_touch *touch, unsigned int serial, in touch_handler_down() argument
527 touch_handler_up(void *data, struct wl_touch *touch, unsigned int serial, in touch_handler_up() argument
545 touch_handler_motion(void *data, struct wl_touch *touch, unsigned int timestamp, in touch_handler_motion() argument
559 touch_handler_frame(void *data, struct wl_touch *touch) in touch_handler_frame() argument
565 touch_handler_cancel(void *data, struct wl_touch *touch) in touch_handler_cancel() argument
742 if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !input->touch) { in seat_handle_capabilities()
744 input->touch = wl_seat_get_touch(seat); in seat_handle_capabilities()
745 wl_touch_set_user_data(input->touch, input); in seat_handle_capabilities()
746 wl_touch_add_listener(input->touch, &touch_listener, in seat_handle_capabilities()
748 } else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && input->touch) { in seat_handle_capabilities()
750 wl_touch_destroy(input->touch); in seat_handle_capabilities()
751 input->touch = NULL; in seat_handle_capabilities()
1082 if (input->touch) { in Wayland_display_destroy_input()
1084 wl_touch_destroy(input->touch); in Wayland_display_destroy_input()