From d80acadfd814ce022f3b2c5ad570551e622e1f66 Mon Sep 17 00:00:00 2001 From: Greg V Date: Fri, 21 Jun 2019 01:48:19 +0300 Subject: Support pointer-gestures on Wayland backend --- include/backend/wayland.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/backend') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 0112460f..8f8e1ea6 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -33,6 +33,7 @@ struct wlr_wl_backend { struct wl_compositor *compositor; struct xdg_wm_base *xdg_wm_base; struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1; + struct zwp_pointer_gestures_v1 *zwp_pointer_gestures_v1; struct wl_seat *seat; struct wl_pointer *pointer; struct wl_keyboard *keyboard; @@ -66,6 +67,7 @@ struct wlr_wl_output { struct wlr_wl_input_device { struct wlr_input_device wlr_input_device; + uint32_t fingers; struct wlr_wl_backend *backend; void *resource; @@ -76,6 +78,8 @@ struct wlr_wl_pointer { struct wlr_wl_input_device *input_device; struct wl_pointer *wl_pointer; + struct zwp_pointer_gesture_swipe_v1 *gesture_swipe; + struct zwp_pointer_gesture_pinch_v1 *gesture_pinch; enum wlr_axis_source axis_source; int32_t axis_discrete; struct wlr_wl_output *output; -- cgit v1.2.3