From 8f5045c871c3060ff5f5f99ce1ada09f4b4cd105 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 2 May 2018 08:59:27 -0400 Subject: [PATCH] Silently ignore touch_{motion,up} for unknown ids --- types/wlr_seat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/types/wlr_seat.c b/types/wlr_seat.c index f77a492d..975746db 100644 --- a/types/wlr_seat.c +++ b/types/wlr_seat.c @@ -1113,7 +1113,6 @@ void wlr_seat_touch_notify_up(struct wlr_seat *seat, uint32_t time, struct wlr_seat_touch_grab *grab = seat->touch_state.grab; struct wlr_touch_point *point = wlr_seat_touch_get_point(seat, touch_id); if (!point) { - wlr_log(L_ERROR, "got touch up for unknown touch point"); return; } @@ -1128,7 +1127,6 @@ void wlr_seat_touch_notify_motion(struct wlr_seat *seat, uint32_t time, struct wlr_seat_touch_grab *grab = seat->touch_state.grab; struct wlr_touch_point *point = wlr_seat_touch_get_point(seat, touch_id); if (!point) { - wlr_log(L_ERROR, "got touch motion for unknown touch point"); return; }