aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-07-12 19:51:40 +0200
committerSimon Ser <contact@emersion.fr>2021-09-27 15:30:31 +0200
commit4c3e307ec829f103920e8d25306b11357e51f4fc (patch)
tree0b5e5ffb582d3bd84730af40328f2ed8fcf63ebf /include/wlr
parent62e62b69420e22471ef384194ba4d4fb91ddd7df (diff)
cursor: emit hold gesture events
Recevie the hold gesture events from the libinput or Wayland backends, abstracted as pointer signals, and re-emit them from the cursor interface.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_cursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h
index f5a016f4..739549c3 100644
--- a/include/wlr/types/wlr_cursor.h
+++ b/include/wlr/types/wlr_cursor.h
@@ -58,6 +58,8 @@ struct wlr_cursor {
struct wl_signal pinch_begin;
struct wl_signal pinch_update;
struct wl_signal pinch_end;
+ struct wl_signal hold_begin;
+ struct wl_signal hold_end;
struct wl_signal touch_up;
struct wl_signal touch_down;