aboutsummaryrefslogtreecommitdiff
path: root/sway/input/seatop_down.c
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-03-09 16:50:20 -0500
committerKirill Primak <vyivel@eclair.cafe>2022-03-17 21:52:59 +0300
commit440d0bc22d57b8b0b21a8acbf127243b8d08cfae (patch)
treeb7988cd9caef571636f775a78c8e39f95b610d0a /sway/input/seatop_down.c
parent49b3ac9a2ce122daf8b57d37db09f4636feae28b (diff)
sway/input: follow up wlroots input device events renaming
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 {
};
static void handle_pointer_axis(struct sway_seat *seat,
- struct wlr_event_pointer_axis *event) {
+ struct wlr_pointer_axis_event *event) {
struct sway_input_device *input_device =
- event->device ? event->device->data : NULL;
+ event->pointer ? event->pointer->base.data : NULL;
struct input_config *ic =
input_device ? input_device_get_config(input_device) : NULL;
float scroll_factor =