From 0c4036ca970f7fcdd9634be2ac3a5f9742a15dec Mon Sep 17 00:00:00 2001 From: Josef Vyhnanek Date: Sat, 27 Jan 2024 22:01:20 +0100 Subject: [PATCH] Providing noop function for wl_pointer opcode 5 --- helpers.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helpers.c b/helpers.c index 07709b9..444d064 100644 --- a/helpers.c +++ b/helpers.c @@ -321,6 +321,9 @@ static void pointer_button(void *data, callback(button); } +static void frame (void *data, + struct wl_pointer *wl_pointer) { } + static void pointer_axis(void *data, struct wl_pointer *wl_pointer, uint32_t time, uint32_t axis, wl_fixed_t value) { } @@ -330,5 +333,6 @@ static const struct wl_pointer_listener pointer_listener = { .leave = pointer_leave, .motion = pointer_motion, .button = pointer_button, + .frame = frame, .axis = pointer_axis };