From bf7209534d43f891395519cb8144d1c3b5a2f221 Mon Sep 17 00:00:00 2001 From: Charlotte Meyer Date: Fri, 8 Mar 2019 14:16:08 +0100 Subject: [PATCH] Fixed listener for absolute motion --- kiwmi/input/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwmi/input/cursor.c b/kiwmi/input/cursor.c index 0cd6ec7..3cff985 100644 --- a/kiwmi/input/cursor.c +++ b/kiwmi/input/cursor.c @@ -30,7 +30,7 @@ static void cursor_motion_absolute_notify(struct wl_listener *listener, void *data) { struct kiwmi_cursor *cursor = - wl_container_of(listener, cursor, cursor_motion); + wl_container_of(listener, cursor, cursor_motion_absolute); struct wlr_event_pointer_motion_absolute *event = data; wlr_cursor_warp_absolute(cursor->cursor, event->device, event->x, event->y);