diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-12 09:40:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-12 09:40:34 -0400 |
commit | b1c33ecc256c58c7ecee28e2f4507dd374727d62 (patch) | |
tree | 01ef02dca7eb448d9a6f2eb63bf60dfcd83ee86b | |
parent | 867190e0828a139fa4529cde60d033a9389df42c (diff) | |
parent | e2b8eac4bfbe119eaeb20622b6f5326e76aafb0b (diff) | |
download | sway-b1c33ecc256c58c7ecee28e2f4507dd374727d62.tar.xz |
Merge pull request #1964 from emersion/wlroots-970
Send pointer discrete axis values
-rw-r--r-- | sway/input/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index c0c6e827..51ce86e1 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -240,7 +240,7 @@ static void handle_cursor_axis(struct wl_listener *listener, void *data) { struct sway_cursor *cursor = wl_container_of(listener, cursor, axis); struct wlr_event_pointer_axis *event = data; wlr_seat_pointer_notify_axis(cursor->seat->wlr_seat, event->time_msec, - event->orientation, event->delta); + event->orientation, event->delta, event->delta_discrete, event->source); } static void handle_touch_down(struct wl_listener *listener, void *data) { |