From 0d68b62beea9b9ac6bf6b37fcb6f10e08197bce5 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 12 Jul 2021 13:58:57 -0400 Subject: [PATCH] enqueue_cursor_report: set clr->next to NULL --- src/lib/input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/input.c b/src/lib/input.c index eed771238..664b3572b 100644 --- a/src/lib/input.c +++ b/src/lib/input.c @@ -433,6 +433,7 @@ enqueue_cursor_report(ncinputlayer* nc, const ncinput* ni){ } clr->y = ni->y; clr->x = ni->x; + clr->next = NULL; // i don't think we ever want to have more than one here. we don't actually // have any control logic which leads to multiple outstanding requests, so // any that arrive are presumably garbage from the bulk input (and probably