mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Xi: Fix xinput property count
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
4a286358f4
commit
4c79fd513a
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user