From 9fe8e379613c42338920e913c6ffd6d1c273da67 Mon Sep 17 00:00:00 2001 From: Greg V Date: Sat, 26 Jan 2019 01:51:38 +0300 Subject: Implement the pointer-gestures-unstable-v1 protocol This protocol relays touchpad gesture events produced by libinput to supporting clients (e.g. Evince, Eye of GNOME). --- include/rootston/cursor.h | 6 ++++++ include/rootston/desktop.h | 2 ++ 2 files changed, 8 insertions(+) (limited to 'include/rootston') diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h index d1db6856..0d6b6014 100644 --- a/include/rootston/cursor.h +++ b/include/rootston/cursor.h @@ -39,6 +39,12 @@ struct roots_cursor { struct wl_listener button; struct wl_listener axis; struct wl_listener frame; + struct wl_listener swipe_begin; + struct wl_listener swipe_update; + struct wl_listener swipe_end; + struct wl_listener pinch_begin; + struct wl_listener pinch_update; + struct wl_listener pinch_end; struct wl_listener touch_down; struct wl_listener touch_up; diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index 56d2a129..d8fc53e2 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -67,6 +68,7 @@ struct roots_desktop { struct wlr_presentation *presentation; struct wlr_foreign_toplevel_manager_v1 *foreign_toplevel_manager_v1; struct wlr_relative_pointer_manager_v1 *relative_pointer_manager; + struct wlr_pointer_gestures_v1 *pointer_gestures; struct wl_listener new_output; struct wl_listener layout_change; -- cgit v1.2.3