test-touchpad: Adjust touchpad_edge_scroll_no_2fg test for gesture support

Unlike all the other 2fg scroll tests the touchpad_edge_scroll_no_2fg test
puts the 2 fingers down quite far apart, this makes the pinch vs scroll
gesture detection code in the gestures branch detect a pinch causing the
test to fail.

This commit brings the finger placement in line with the other 2fg scroll
tests fixing this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Hans de Goede 2015-04-22 10:32:38 +02:00 committed by Peter Hutterer
parent 4996076a7c
commit b81afb019a

View file

@ -2829,9 +2829,9 @@ START_TEST(touchpad_edge_scroll_no_2fg)
litest_drain_events(li);
enable_edge_scroll(dev);
litest_touch_down(dev, 0, 20, 20);
litest_touch_down(dev, 1, 40, 20);
litest_touch_move_two_touches(dev, 20, 20, 40, 20, 20, 30, 10, 3);
litest_touch_down(dev, 0, 49, 50);
litest_touch_down(dev, 1, 51, 50);
litest_touch_move_two_touches(dev, 49, 50, 51, 50, 20, 30, 5, 0);
libinput_dispatch(li);
litest_touch_up(dev, 0);
litest_touch_up(dev, 1);