From bb1b1304dff08cf5b1b290bea7635091ef53d455 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 15 Mar 2024 16:23:14 +1000 Subject: 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: --- test/test-touchpad-tap.c | 4 ++-- 1 file 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++) { -- cgit v1.2.3