From e8f2eb18f0093795a9041fdcbe649abddfce4171 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 7 Dec 2015 11:39:52 +1000 Subject: [PATCH] test: always call libinput_dispatch after moving touches We dont' want to fill up the event queue and cause SYN_DROPPED events. Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- test/litest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/litest.c b/test/litest.c index ba3a308f..cf9b534e 100644 --- a/test/litest.c +++ b/test/litest.c @@ -1502,8 +1502,8 @@ litest_touch_move_two_touches(struct litest_device *d, if (sleep_ms) { libinput_dispatch(d->libinput); msleep(sleep_ms); - libinput_dispatch(d->libinput); } + libinput_dispatch(d->libinput); } litest_touch_move(d, 0, x0 + dx, y0 + dy); litest_touch_move(d, 1, x1 + dx, y1 + dy);