x/y assigned but never used. Dropping those few lines gets rid of the warning
and checks the coordinates correctly now too.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
litest_touch_move_to(finger, 0, x + 1, y - 1, x + 20, y - 20, 10);
libinput_dispatch(li);
- event = libinput_get_event(li);
- p = litest_is_motion_event(event);
- x = libinput_event_pointer_get_dx(p);
- y = libinput_event_pointer_get_dy(p);
- libinput_event_destroy(event);
-
event = libinput_get_event(li);
ck_assert_notnull(event);