From a2c9e8f7e189d35ff147841803be640c812f0b9b Mon Sep 17 00:00:00 2001 From: jlo62 <122014753+jlo62@users.noreply.github.com> Date: Sun, 17 Sep 2023 20:27:32 +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 b6c4b105..6c5dd809 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); struct input_config *ic = sid ? input_device_get_config(sid) : NULL; float sensitivity = (ic && ic->sensitivity != FLT_MIN) ? ic->sensitivity : 1.0f;