Takes the onus of waiting from the caller. Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- test/litest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/litest.c b/test/litest.c index 8f3784f..c3b99ef 100644 --- a/test/litest.c +++ b/test/litest.c @@ -1067,7 +1067,7 @@ litest_assert_button_event(struct libinput *li, unsigned int button, struct libinput_event *event; struct libinput_event_pointer *ptrev; - libinput_dispatch(li); + litest_wait_for_event(li); event = libinput_get_event(li); ck_assert(event != NULL); -- 1.9.3 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel