Add support for discrete axis values

This commit is contained in:
emersion 2018-05-12 13:04:47 +01:00
parent 84609d347a
commit 0b58579564
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
12 changed files with 58 additions and 22 deletions

View file

@ -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,