test: fix two wrong timeout calls

This are tests with drag lock enabled, so our timeout needs to be
be the tap and drag timeout (which is higher than the normal tap timeout).
Only worked because they're similar enough that if there's a bit of a
delay, the extra ms push us over the line.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/984>
This commit is contained in:
Peter Hutterer 2024-03-15 16:23:14 +10:00 committed by Marge Bot
parent 09b59e42fb
commit bb1b1304df

View file

@ -260,7 +260,7 @@ START_TEST(touchpad_multitap)
msleep(10);
}
litest_timeout_tap();
litest_timeout_tapndrag();
libinput_dispatch(li);
for (ntaps = 0; ntaps <= range; ntaps++) {
@ -679,7 +679,7 @@ START_TEST(touchpad_multitap_timeout)
}
libinput_dispatch(li);
litest_timeout_tap();
litest_timeout_tapndrag();
libinput_dispatch(li);
for (ntaps = 0; ntaps <= range; ntaps++) {