diff options
author | Keith Packard <keithp@ukulele.keithp.com> | 2006-11-30 23:16:42 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-12-02 10:44:06 +1100 |
commit | 23ba72323af785516db6cbcf6c1b2fa907a8232f (patch) | |
tree | d06e2eb61aab80302c00f6802e07ad5456f094d2 /randr/rrproperty.c | |
parent | ccd804c6c01cdfffe938fa5336be9b5668a6f0c0 (diff) |
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)
Diffstat (limited to 'randr/rrproperty.c')
-rw-r--r-- | randr/rrproperty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrproperty.c b/randr/rrproperty.c index a47f30671..13e848340 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -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; |