mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-02 00:40:09 +01:00
Xi: don't double-swap the XListDeviceProperties reply.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 50cc8adafc)
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
b575af88d0
commit
21f58a2b0d
1 changed files with 0 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue