diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-06 16:55:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-08 14:23:53 +1000 |
commit | 50cc8adafca4ba3838d468278d6eb8a4692d2488 (patch) | |
tree | dee188f7b3fcafde0885034beb025c5b301f5ebd | |
parent | 3fc6fcfb267888d65a22ed7c3eda175a2530a3d5 (diff) |
Xi: don't double-swap the XListDeviceProperties reply.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | Xi/xiproperty.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Xi/xiproperty.c b/Xi/xiproperty.c index d633f5141..8c6d53a5a 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -706,13 +706,6 @@ ProcXListDeviceProperties (ClientPtr client) rep.length = (numProps * sizeof(Atom)) >> 2; rep.sequenceNumber = client->sequence; rep.nAtoms = numProps; - if (client->swapped) - { - int n; - swaps (&rep.sequenceNumber, n); - swapl (&rep.length, n); - swaps (&rep.nAtoms, n); - } temppAtoms = pAtoms; for (prop = dev->properties.properties; prop; prop = prop->next) *temppAtoms++ = prop->propertyName; |