enqueue_cursor_report: set clr->next to NULL

This commit is contained in:
nick black 2021-07-12 13:58:57 -04:00
parent 561f4eba8c
commit 0d68b62bee
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -433,6 +433,7 @@ enqueue_cursor_report(ncinputlayer* nc, const ncinput* ni){
} }
clr->y = ni->y; clr->y = ni->y;
clr->x = ni->x; clr->x = ni->x;
clr->next = NULL;
// i don't think we ever want to have more than one here. we don't actually // 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 // have any control logic which leads to multiple outstanding requests, so
// any that arrive are presumably garbage from the bulk input (and probably // any that arrive are presumably garbage from the bulk input (and probably