diff options
author | Greg V <greg@unrelenting.technology> | 2019-01-26 01:51:38 +0300 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-28 22:06:36 +0100 |
commit | 9fe8e379613c42338920e913c6ffd6d1c273da67 (patch) | |
tree | 51937a7d4827b20ffe27783e9b4ae26bdf7175f0 /include/rootston | |
parent | 018727b1fc41dcd739ab464c84581c44dd1497ca (diff) |
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).
Diffstat (limited to 'include/rootston')
-rw-r--r-- | include/rootston/cursor.h | 6 | ||||
-rw-r--r-- | include/rootston/desktop.h | 2 |
2 files changed, 8 insertions, 0 deletions
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 <wlr/types/wlr_list.h> #include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_output.h> +#include <wlr/types/wlr_pointer_gestures_v1.h> #include <wlr/types/wlr_presentation_time.h> #include <wlr/types/wlr_gtk_primary_selection.h> #include <wlr/types/wlr_relative_pointer_v1.h> @@ -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; |