mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 02:58:06 +02:00
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 66b6358a39 commit)
This commit is contained in:
parent
ccd804c6c0
commit
23ba72323a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue