RandR ListOutputProperties has nAtoms element, not nProperties
Earlier RandR 1.2 encoding revisions used 8-bit nProperties field. Final RandR 1.2 spec uses 16-bit nAtoms field instead. (cherry picked from 66b6358a393972946f16394918db2401c51dc5ed commit)
This commit is contained in:
parent
ccd804c6c0
commit
23ba72323a
|
@ -325,9 +325,9 @@ ProcRRListOutputProperties (ClientPtr client)
|
|||
return(BadAlloc);
|
||||
|
||||
rep.type = X_Reply;
|
||||
rep.nProperties = numProps;
|
||||
rep.length = (numProps * sizeof(Atom)) >> 2;
|
||||
rep.sequenceNumber = client->sequence;
|
||||
rep.nAtoms = numProps;
|
||||
if (client->swapped)
|
||||
{
|
||||
int n;
|
||||
|
|
Loading…
Reference in New Issue