mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 19:50:25 +01:00
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 <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
3d39dbc3f2
commit
e8f2eb18f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue