xserver: Branch 'master'
Dave Airlie
airlied at kemper.freedesktop.org
Sat Dec 2 01:44:32 EET 2006
randr/rrproperty.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree 23ba72323af785516db6cbcf6c1b2fa907a8232f (from ccd804c6c01cdfffe938fa5336be9b5668a6f0c0)
Author: Keith Packard <keithp at ukulele.keithp.com>
Date: Thu Nov 30 23:16:42 2006 -0800
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)
diff --git a/randr/rrproperty.c b/randr/rrproperty.c
index a47f306..13e8483 100644
--- a/randr/rrproperty.c
+++ b/randr/rrproperty.c
@@ -325,9 +325,9 @@ ProcRRListOutputProperties (ClientPtr cl
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;
More information about the xorg-commit
mailing list