Xi: Fix xinput property count

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2025-08-22 12:35:05 +03:00
committed by Enrico Weigelt
parent 4a286358f4
commit 4c79fd513a

View File

@@ -829,6 +829,7 @@ static int _writeDevProps(x_rpcbuf_t *rpcbuf, XID devId,
size_t n = 0;
for (XIPropertyPtr p = dev->properties.properties; p; p = p->next) {
n++;
if (!x_rpcbuf_write_CARD32(rpcbuf, p->propertyName))
return BadAlloc;
}