test: fix a jumping touch movement

touch_move_to() should usually continue from the touch_down() location

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-09-16 14:30:44 +10:00
parent 224f1d823b
commit b9093ca2b1

View 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);