mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Add support for discrete axis values
This commit is contained in:
parent
84609d347a
commit
0b58579564
12 changed files with 58 additions and 22 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue