From bda7f681e7d991df4116229ee7066aa17c30252f Mon Sep 17 00:00:00 2001 From: jlo62 <122014753+jlo62@users.noreply.github.com> Date: Sun, 17 Sep 2023 20:32:36 +0200 Subject: [PATCH] Update cursor.c --- sway/input/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/input/cursor.c b/sway/input/cursor.c index b6c4b1051..84e3aa1a3 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -408,7 +408,7 @@ static void handle_pointer_motion_relative( struct sway_cursor *cursor = wl_container_of(listener, cursor, motion); struct wlr_pointer_motion_event *e = data; - struct sway_input_device *sid = input_sway_device_from_wlr(e->pointer->base); + struct sway_input_device *sid = input_sway_device_from_wlr(&e->pointer->base); struct input_config *ic = sid ? input_device_get_config(sid) : NULL; float sensitivity = (ic && ic->sensitivity != FLT_MIN) ? ic->sensitivity : 1.0f;