Depending on how quick the test suite runs we may get a hold end event
here. Let's silently ignore that one since we aren't interested in it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
litest_touch_move_to(finger, 0, x + 1, y - 1, x + 20, y - 20, 10);
libinput_dispatch(li);
+ /* Allow for optional hold gesture to end */
event = libinput_get_event(li);
+ if (libinput_event_get_type(event) == LIBINPUT_EVENT_GESTURE_HOLD_END) {
+ libinput_event_destroy(event);
+ event = libinput_get_event(li);
+ }
+
ck_assert_notnull(event);
while (event) {