backend/libinput: send hold gesture events

Receive hold gesture events from libinput and emit the appropiate
wlr_pointer signal.
This commit is contained in:
José Expósito 2021-07-12 19:50:44 +02:00 committed by Simon Ser
parent 95970b3619
commit 52d2491931
3 changed files with 50 additions and 0 deletions

View file

@ -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);