diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-06 16:55:32 +1000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-05-08 22:56:08 -0700 |
commit | 21f58a2b0d0d96492d2d7c7de1bd654ed0114279 (patch) | |
tree | aaf5985ae07502b8e36ebeb20ce91a22b0923da0 | |
parent | b575af88d0e547a03b164f6f3b2d4b268b9ffc34 (diff) |
Xi: don't double-swap the XListDeviceProperties reply.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 50cc8adafca4ba3838d468278d6eb8a4692d2488)
Signed-off-by: Keith Packard <keithp@keithp.com>
-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 04b2c8112..b04ee9433 100644 --- a/Xi/xiproperty.c +++ b/Xi/xiproperty.c @@ -602,13 +602,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; |