test: fix a jumping touch movement
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 16 Sep 2014 04:30:44 +0000 (14:30 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 17 Sep 2014 03:31:42 +0000 (13:31 +1000)
touch_move_to() should usually continue from the touch_down() location

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/touchpad.c

index eae9202..9501019 100644 (file)
@@ -1558,7 +1558,7 @@ START_TEST(touchpad_palm_detect_palm_becomes_pointer)
        litest_drain_events(li);
 
        litest_touch_down(dev, 0, 99, 50);
-       litest_touch_move_to(dev, 0, 99, 70, 0, 70, 5);
+       litest_touch_move_to(dev, 0, 99, 50, 0, 70, 5);
        litest_touch_up(dev, 0);
 
        libinput_dispatch(li);