From 4c79fd513a3c3d0b952349c2155f9bfead6edf0d Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Fri, 22 Aug 2025 12:35:05 +0300 Subject: [PATCH] Xi: Fix xinput property count Signed-off-by: stefan11111 --- Xi/xiproperty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c index 01a0f3ea52..9575d90731 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -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; }