Fixed listener for absolute motion
This commit is contained in:
parent
cfa9ce6072
commit
bf7209534d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ static void
|
||||||
cursor_motion_absolute_notify(struct wl_listener *listener, void *data)
|
cursor_motion_absolute_notify(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
struct kiwmi_cursor *cursor =
|
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;
|
struct wlr_event_pointer_motion_absolute *event = data;
|
||||||
|
|
||||||
wlr_cursor_warp_absolute(cursor->cursor, event->device, event->x, event->y);
|
wlr_cursor_warp_absolute(cursor->cursor, event->device, event->x, event->y);
|
||||||
|
|
Loading…
Reference in a new issue