diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-05-12 09:40:34 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-05-12 09:40:34 -0400 |
| commit | 015d2a083dc99664609b935082febf1d28706c08 (patch) | |
| tree | 01ef02dca7eb448d9a6f2eb63bf60dfcd83ee86b | |
| parent | 66939bc35c8d0b8575e94a4f768489c588927cbf (diff) | |
| parent | b1f9f8efe404e8bb65032b504d61c6e883ebf0ef (diff) | |
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) { |
