[PATCH libinput 1/2] test: add missing libinput_dispatch() before timeouts

Peter Hutterer peter.hutterer at who-t.net
Wed Jul 29 00:45:44 PDT 2015


see 5cec16eede70.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/touchpad-tap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/touchpad-tap.c b/test/touchpad-tap.c
index c021f1d..f6986e7 100644
--- a/test/touchpad-tap.c
+++ b/test/touchpad-tap.c
@@ -806,6 +806,7 @@ START_TEST(touchpad_1fg_tap_n_drag_draglock_timeout)
 
 	litest_assert_empty_queue(li);
 	litest_touch_up(dev, 0);
+	libinput_dispatch(li);
 
 	litest_timeout_tapndrag();
 	litest_assert_button_event(li, BTN_LEFT,
-- 
2.4.3



More information about the wayland-devel mailing list