diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-03-09 16:50:20 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-03-17 21:52:59 +0300 |
commit | 440d0bc22d57b8b0b21a8acbf127243b8d08cfae (patch) | |
tree | b7988cd9caef571636f775a78c8e39f95b610d0a /sway/input/seatop_down.c | |
parent | sway/input/seat: take output name from specialized input device (diff) | |
download | sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.tar.gz sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.tar.zst sway-440d0bc22d57b8b0b21a8acbf127243b8d08cfae.zip |
sway/input: follow up wlroots input device events renaming
Diffstat (limited to 'sway/input/seatop_down.c')
-rw-r--r-- | sway/input/seatop_down.c | 4 |
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 | ||
20 | static void handle_pointer_axis(struct sway_seat *seat, | 20 | static 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 = |