Lines Matching refs:wlTouch
103 struct wl_touch *wlTouch; member
439 TouchHandleDown(void *data, struct wl_touch *wlTouch, uint32_t serial, in TouchHandleDown() argument
467 TouchHandleUp(void *data, struct wl_touch *wlTouch, uint32_t serial, in TouchHandleUp() argument
485 TouchHandleMotion(void *data, struct wl_touch *wlTouch, uint32_t time, in TouchHandleMotion() argument
491 TouchHandleFrame(void *data, struct wl_touch *wlTouch) in TouchHandleFrame() argument
496 TouchHandleCancel(void *data, struct wl_touch *wlTouch) in TouchHandleCancel() argument
517 struct wl_touch *wlTouch = p_wlCtx->wlTouch; in seat_handle_capabilities() local
532 if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !wlTouch){ in seat_handle_capabilities()
533 wlTouch = wl_seat_get_touch(wlSeat); in seat_handle_capabilities()
534 wl_touch_add_listener(wlTouch, &touch_listener, data); in seat_handle_capabilities()
536 if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && wlTouch){ in seat_handle_capabilities()
537 wl_touch_destroy(wlTouch); in seat_handle_capabilities()
538 wlTouch = NULL; in seat_handle_capabilities()
540 p_wlCtx->wlTouch = wlTouch; in seat_handle_capabilities()