summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2011-09-02 18:45:16 -0400
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-14 15:33:56 +1000
commitec8ee3a9f76cc94d6fa4e7245c1a8fb68a42783c (patch)
tree0f99fc7d0c3a7317a67795c4823937bfa46ff9e6
parent603ad6608a0dbe2fb1bdc4bcd8b4117f2b0bc8b2 (diff)
xkb: add missing swaps for xkbGetDeviceInfoReply
Caught during review of e095369bf. Signed-off-by: Peter Harris <pharris@opentext.com> Reviewed-by-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit c90903b4f7a826ae6826a8dd0a901c8362500e46) Conflicts: xkb/xkb.c Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--xkb/xkb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xkb/xkb.c b/xkb/xkb.c
index 9c66955f4..6e0f54244 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -6240,6 +6240,9 @@ char * str;
swaps(&rep.unsupported,n);
swaps(&rep.nDeviceLedFBs,n);
swapl(&rep.type,n);
+ swaps(&rep.dfltKbdFB, n);
+ swaps(&rep.dfltLedFB, n);
+ swapl(&rep.devType, n);
}
WriteToClient(client,SIZEOF(xkbGetDeviceInfoReply), (char *)&rep);