aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-12 09:29:42 -0400
committerGitHub <noreply@github.com>2018-05-12 09:29:42 -0400
commit50922cfe0f1ca71295d331b39d695a62a60650af (patch)
treedb00d6d45676489085e7ebace68415be5c0ab50b /rootston
parent84609d347a6c943096335ac5c96af133c782e179 (diff)
parentdb84379242cea0283d4031be90dd80a34dd5d2df (diff)
Merge pull request #970 from emersion/pointer-axis-discrete
Add support for discrete axis values and axis source
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..55b145e2 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, event->source);
}
void roots_cursor_handle_touch_down(struct roots_cursor *cursor,