mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 08:10:05 +01:00
test: print events discarded while waiting for another event type
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1156>
This commit is contained in:
parent
bfbecc5ef3
commit
3858a6c4f8
1 changed files with 4 additions and 0 deletions
|
|
@ -3475,6 +3475,10 @@ _litest_wait_for_event_of_type(struct libinput *li, ...)
|
|||
}
|
||||
|
||||
event = libinput_get_event(li);
|
||||
if (verbose) {
|
||||
fprintf(stderr, "litest: discarding event while waiting: ");
|
||||
litest_print_event(event);
|
||||
}
|
||||
libinput_event_destroy(event);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue