aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_down.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seatop_down.c')
-rw-r--r--sway/input/seatop_down.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seatop_down.c b/sway/input/seatop_down.c
index ecc34fea..b40773d0 100644
--- a/sway/input/seatop_down.c
+++ b/sway/input/seatop_down.c
@@ -18,9 +18,9 @@ struct seatop_down_event {
18}; 18};
19 19
20static void handle_pointer_axis(struct sway_seat *seat, 20static void handle_pointer_axis(struct sway_seat *seat,
21 struct wlr_event_pointer_axis *event) { 21 struct wlr_pointer_axis_event *event) {
22 struct sway_input_device *input_device = 22 struct sway_input_device *input_device =
23 event->device ? event->device->data : NULL; 23 event->pointer ? event->pointer->base.data : NULL;
24 struct input_config *ic = 24 struct input_config *ic =
25 input_device ? input_device_get_config(input_device) : NULL; 25 input_device ? input_device_get_config(input_device) : NULL;
26 float scroll_factor = 26 float scroll_factor =