Xi: don't double-swap the XListDeviceProperties reply.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3fc6fcfb26
commit
50cc8adafc
|
@ -706,13 +706,6 @@ ProcXListDeviceProperties (ClientPtr client)
|
||||||
rep.length = (numProps * sizeof(Atom)) >> 2;
|
rep.length = (numProps * sizeof(Atom)) >> 2;
|
||||||
rep.sequenceNumber = client->sequence;
|
rep.sequenceNumber = client->sequence;
|
||||||
rep.nAtoms = numProps;
|
rep.nAtoms = numProps;
|
||||||
if (client->swapped)
|
|
||||||
{
|
|
||||||
int n;
|
|
||||||
swaps (&rep.sequenceNumber, n);
|
|
||||||
swapl (&rep.length, n);
|
|
||||||
swaps (&rep.nAtoms, n);
|
|
||||||
}
|
|
||||||
temppAtoms = pAtoms;
|
temppAtoms = pAtoms;
|
||||||
for (prop = dev->properties.properties; prop; prop = prop->next)
|
for (prop = dev->properties.properties; prop; prop = prop->next)
|
||||||
*temppAtoms++ = prop->propertyName;
|
*temppAtoms++ = prop->propertyName;
|
||||||
|
|
Loading…
Reference in New Issue