From 0b585795645f608093ae59199a71bf5be6790e3b Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 12 May 2018 13:04:47 +0100 Subject: Add support for discrete axis values --- rootston/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rootston') diff --git a/rootston/cursor.c b/rootston/cursor.c index 61a34db9..98ecef4f 100644 --- a/rootston/cursor.c +++ b/rootston/cursor.c @@ -313,7 +313,7 @@ void roots_cursor_handle_button(struct roots_cursor *cursor, void roots_cursor_handle_axis(struct roots_cursor *cursor, struct wlr_event_pointer_axis *event) { wlr_seat_pointer_notify_axis(cursor->seat->seat, event->time_msec, - event->orientation, event->delta); + event->orientation, event->delta, event->delta_discrete); } void roots_cursor_handle_touch_down(struct roots_cursor *cursor, -- cgit v1.2.3