mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-03 17:20:11 +01:00
test: don't use move_to for a single-step movement
If we only want one event anyway... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
040892572f
commit
c2877fdb0c
1 changed files with 4 additions and 4 deletions
|
|
@ -523,11 +523,11 @@ START_TEST(gestures_pinch_vertical_position)
|
|||
/* This is actually a small swipe gesture, all three fingers moving
|
||||
* down but we're checking for the code that triggers based on
|
||||
* finger position. */
|
||||
litest_touch_move_to(dev, 0, 40, 30, 40, 30.5, 1, 0);
|
||||
litest_touch_move_to(dev, 1, 50, 70, 50, 70.5, 1, 0);
|
||||
litest_touch_move_to(dev, 2, 60, 70, 60, 70.5, 1, 0);
|
||||
litest_touch_move(dev, 0, 40, 30.5);
|
||||
litest_touch_move(dev, 1, 50, 70.5);
|
||||
litest_touch_move(dev, 2, 60, 70.5);
|
||||
if (nfingers > 3)
|
||||
litest_touch_move_to(dev, 3, 70, 70, 70, 70.5, 1, 0);
|
||||
litest_touch_move(dev, 3, 70, 70.5);
|
||||
libinput_dispatch(li);
|
||||
|
||||
event = libinput_get_event(li);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue