diff options
author | Greg V <greg@unrelenting.technology> | 2019-06-21 01:48:19 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-21 14:43:28 -0400 |
commit | d80acadfd814ce022f3b2c5ad570551e622e1f66 (patch) | |
tree | a6b042f5de7e4ea6152464f010c7b5222c193a2b /include/backend | |
parent | 5027b23dc2223a803086f9ae6caab4f2a829cc45 (diff) |
Support pointer-gestures on Wayland backend
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/wayland.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |