From c2877fdb0cdfd111822a57acf2ed0c69da017404 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 27 Aug 2018 14:28:58 +1000 Subject: [PATCH] test: don't use move_to for a single-step movement If we only want one event anyway... Signed-off-by: Peter Hutterer --- test/test-gestures.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test-gestures.c b/test/test-gestures.c index db0e6731..c5feed17 100644 --- a/test/test-gestures.c +++ b/test/test-gestures.c @@ -523,11 +523,11 @@ START_TEST(gestures_pinch_vertical_position) /* This is actually a small swipe gesture, all three fingers moving * down but we're checking for the code that triggers based on * finger position. */ - litest_touch_move_to(dev, 0, 40, 30, 40, 30.5, 1, 0); - litest_touch_move_to(dev, 1, 50, 70, 50, 70.5, 1, 0); - litest_touch_move_to(dev, 2, 60, 70, 60, 70.5, 1, 0); + litest_touch_move(dev, 0, 40, 30.5); + litest_touch_move(dev, 1, 50, 70.5); + litest_touch_move(dev, 2, 60, 70.5); if (nfingers > 3) - litest_touch_move_to(dev, 3, 70, 70, 70, 70.5, 1, 0); + litest_touch_move(dev, 3, 70, 70.5); libinput_dispatch(li); event = libinput_get_event(li);