mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 05:00:06 +01:00
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:
parent
4996076a7c
commit
b81afb019a
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue