backend/wayland: send hold gesture events

Receive hold gesture events using a Wayland listiner and emit the
appropiate wlr_pointer signal.
This commit is contained in:
José Expósito 2021-07-12 19:51:21 +02:00 committed by Simon Ser
parent 52d2491931
commit 62e62b6942
3 changed files with 46 additions and 1 deletions

View file

@ -98,6 +98,7 @@ struct wlr_wl_pointer {
struct wl_pointer *wl_pointer;
struct zwp_pointer_gesture_swipe_v1 *gesture_swipe;
struct zwp_pointer_gesture_pinch_v1 *gesture_pinch;
struct zwp_pointer_gesture_hold_v1 *gesture_hold;
struct zwp_relative_pointer_v1 *relative_pointer;
enum wlr_axis_source axis_source;
int32_t axis_discrete;