aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosé Expósito <jose.exposito89@gmail.com>2021-07-12 19:50:44 +0200
committerSimon Ser <contact@emersion.fr>2021-09-27 15:30:31 +0200
commit52d249193190c44d1f1d07c36ae57f1dfa16a9e0 (patch)
treec9c7db9f7d807dbcce33334bdf7fac17e2237f97 /include
parent95970b361960e5b8786eaa608d66f18b15d86efb (diff)
backend/libinput: send hold gesture events
Receive hold gesture events from libinput and emit the appropiate wlr_pointer signal.
Diffstat (limited to 'include')
-rw-r--r--include/backend/libinput.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/backend/libinput.h b/include/backend/libinput.h
index 06e23a17..e85ad291 100644
--- a/include/backend/libinput.h
+++ b/include/backend/libinput.h
@@ -66,6 +66,10 @@ void handle_pointer_pinch_update(struct libinput_event *event,
struct libinput_device *device);
void handle_pointer_pinch_end(struct libinput_event *event,
struct libinput_device *device);
+void handle_pointer_hold_begin(struct libinput_event *event,
+ struct libinput_device *device);
+void handle_pointer_hold_end(struct libinput_event *event,
+ struct libinput_device *device);
struct wlr_switch *create_libinput_switch(
struct libinput_device *device);