mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 15:50:29 +01:00
test: use litest_dispatch() in litest_wait_for_events()
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1184>
This commit is contained in:
parent
5c1c14e567
commit
2487273b5e
1 changed files with 1 additions and 1 deletions
|
|
@ -3452,7 +3452,7 @@ _litest_wait_for_event_of_type(struct libinput *li,
|
|||
int rc = poll(&fds, 1, timeout);
|
||||
litest_assert_errno_success(rc);
|
||||
litest_assert_int_gt(rc, 0);
|
||||
libinput_dispatch(li);
|
||||
litest_dispatch(li);
|
||||
}
|
||||
|
||||
if (type == LIBINPUT_EVENT_NONE) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue