aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-12 13:13:38 +0100
committerLibravatar emersion <contact@emersion.fr>2018-05-12 13:56:17 +0100
commit50298dc9018e0045f7173a380c3d618c5f89cd43 (patch)
tree726efc154729172a097b4405f036299d3023f6ef /sway/input/cursor.c
parentRevert "Merge pull request #1943 from RyanDwyer/criteria-improvements" (diff)
downloadsway-50298dc9018e0045f7173a380c3d618c5f89cd43.tar.gz
sway-50298dc9018e0045f7173a380c3d618c5f89cd43.tar.zst
sway-50298dc9018e0045f7173a380c3d618c5f89cd43.zip
Send pointer discrete axis values and source
Update for swaywm/wlroots#970
Diffstat (limited to 'sway/input/cursor.c')
-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) {
240 struct sway_cursor *cursor = wl_container_of(listener, cursor, axis); 240 struct sway_cursor *cursor = wl_container_of(listener, cursor, axis);
241 struct wlr_event_pointer_axis *event = data; 241 struct wlr_event_pointer_axis *event = data;
242 wlr_seat_pointer_notify_axis(cursor->seat->wlr_seat, event->time_msec, 242 wlr_seat_pointer_notify_axis(cursor->seat->wlr_seat, event->time_msec,
243 event->orientation, event->delta); 243 event->orientation, event->delta, event->delta_discrete, event->source);
244} 244}
245 245
246static void handle_touch_down(struct wl_listener *listener, void *data) { 246static void handle_touch_down(struct wl_listener *listener, void *data) {