Commit 86510031 authored by Peter Hutterer's avatar Peter Hutterer

test: don't form a pinch gesture for the clickfinger distance test

If the fingers are in the position in the current code, that's not a 3fg
click, that's a pinch. Let's use something more realistic.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 3c84d5c7
......@@ -497,7 +497,7 @@ START_TEST(touchpad_3fg_clickfinger_distance)
litest_drain_events(li);
litest_touch_down(dev, 0, 90, 70);
litest_touch_down(dev, 0, 90, 20);
litest_touch_down(dev, 1, 10, 15);
litest_touch_down(dev, 2, 10, 15);
......@@ -530,7 +530,7 @@ START_TEST(touchpad_3fg_clickfinger_distance_btntool)
litest_drain_events(li);
litest_touch_down(dev, 0, 90, 90);
litest_touch_down(dev, 0, 90, 15);
litest_touch_down(dev, 1, 10, 15);
libinput_dispatch(li);
litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment