From 31d20acdf622375401993701bd274306b4da3296 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 11 Mar 2021 15:51:47 +1000 Subject: [PATCH] test: fix two inadvertent pointer jumps in a test Got papered over by bugs in the implementation and didn't trigger the jump detection or movement detection otherwise. Related to #578 Signed-off-by: Peter Hutterer --- test/test-touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-touchpad.c b/test/test-touchpad.c index 8691f805..5604aedd 100644 --- a/test/test-touchpad.c +++ b/test/test-touchpad.c @@ -5183,7 +5183,7 @@ START_TEST(touchpad_thumb_speed_empty_slots) libinput_dispatch(li); for (int i = 0, y = 50; i < 10; i++, y++) { litest_touch_move_to(dev, 1, 50, y, 50, y + 1, 1); - litest_touch_move_to(dev, 2, 55, y, 50, y + 1, 1); + litest_touch_move_to(dev, 2, 55, y, 55, y + 1, 1); } libinput_dispatch(li); litest_touch_up(dev, 1); @@ -5983,7 +5983,7 @@ START_TEST(touchpad_pressure_2fg) litest_touch_down(dev, 0, 30, 50); litest_touch_down_extended(dev, 1, 50, 50, axes); libinput_dispatch(li); - litest_touch_move_to(dev, 0, 50, 50, 80, 80, 10); + litest_touch_move_to(dev, 0, 30, 50, 80, 80, 10); libinput_dispatch(li); litest_assert_only_typed_events(li, LIBINPUT_EVENT_POINTER_MOTION);