diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2024-03-15 16:23:14 +1000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-18 16:25:47 +0000 |
commit | bb1b1304dff08cf5b1b290bea7635091ef53d455 (patch) | |
tree | d6a59e139e4ae19d93511db20cf16f8024fa6831 | |
parent | 09b59e42fbe6a127171534a1587bf6c2d4b7dd17 (diff) |
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>
-rw-r--r-- | test/test-touchpad-tap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-touchpad-tap.c b/test/test-touchpad-tap.c index 064c9159..f8651562 100644 --- a/test/test-touchpad-tap.c +++ b/test/test-touchpad-tap.c @@ -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++) { |