mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 05:40:39 +01:00
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:
parent
09b59e42fb
commit
bb1b1304df
1 changed files with 2 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue