mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
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 <peter.hutterer@who-t.net>
This commit is contained in:
parent
3c84d5c750
commit
865100310c
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue