summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-05-12 13:13:38 +0100
committerFurkan Sahin <furkan-dev@proton.me>2018-05-12 13:13:38 +0100
commit11f437566d70f854fa85b6c081bc49ff662ed32e (patch)
tree726efc154729172a097b4405f036299d3023f6ef
parent5c35a925083a33e53fce962fe89460710561b749 (diff)
Send pointer discrete axis values and source
Update for swaywm/wlroots#970
-rw-r--r--sway/input/cursor.c2
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) {