aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-12 13:04:47 +0100
committeremersion <contact@emersion.fr>2018-05-12 13:34:58 +0100
commit0b585795645f608093ae59199a71bf5be6790e3b (patch)
tree49a5c786435f30cdeb6aa8900bb9118079a60395 /rootston
parent84609d347a6c943096335ac5c96af133c782e179 (diff)
Add support for discrete axis values
Diffstat (limited to 'rootston')
-rw-r--r--rootston/cursor.c2
1 files changed, 1 insertions, 1 deletions
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,