Send pointer discrete axis values and source

Update for swaywm/wlroots#970
This commit is contained in:
emersion 2018-05-12 13:13:38 +01:00
parent 32a572cecf
commit 50298dc901
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

View File

@ -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) {