From d82f3b8798e148f8bebe792e751a7049a098b497 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 18 Jun 2019 21:29:29 +1000 Subject: [PATCH] test: replace a touch move with a timeout We only care about the third-finger data here, the movement of the first two was just to get out of the base tap states. A timeout will do the same thing here. Signed-off-by: Peter Hutterer --- test/test-touchpad-tap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-touchpad-tap.c b/test/test-touchpad-tap.c index ec60e71..0862908 100644 --- a/test/test-touchpad-tap.c +++ b/test/test-touchpad-tap.c @@ -1696,8 +1696,8 @@ START_TEST(touchpad_3fg_tap_pressure_btntool) litest_touch_down(dev, 1, 70, 50); libinput_dispatch(li); - litest_touch_move_to(dev, 0, 50, 50, 50, 70, 10); - litest_touch_move_to(dev, 1, 70, 50, 50, 70, 10); + litest_timeout_tap(); + libinput_dispatch(li); litest_drain_events(li); /* drop below the pressure threshold in the same frame as starting a -- 2.7.4