mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-04 02:40:16 +01:00
test: fix the clickfinger thumb test
This test was putting both fingers down in the thumb area. That's not representative, it's more likely that a thumb is in the area and the second finger clicks elsewhere. So let's test for that instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1d9e32c91f
commit
84872fa35b
1 changed files with 2 additions and 2 deletions
|
|
@ -5148,7 +5148,7 @@ START_TEST(touchpad_thumb_area_clickfinger)
|
|||
Shouldn't matter in real life */
|
||||
litest_touch_move_extended(dev, 0, 55, 99, axes);
|
||||
libinput_dispatch(li);
|
||||
litest_touch_down(dev, 1, 60, 99);
|
||||
litest_touch_down(dev, 1, 60, 50);
|
||||
libinput_dispatch(li);
|
||||
litest_button_click(dev, BTN_LEFT, true);
|
||||
|
||||
|
|
@ -5175,7 +5175,7 @@ START_TEST(touchpad_thumb_area_clickfinger)
|
|||
Shouldn't matter in real life */
|
||||
litest_touch_move_extended(dev, 1, 60, 99, axes);
|
||||
libinput_dispatch(li);
|
||||
litest_touch_down(dev, 0, 50, 99);
|
||||
litest_touch_down(dev, 0, 50, 50);
|
||||
libinput_dispatch(li);
|
||||
litest_button_click(dev, BTN_LEFT, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue