From ec8ee3a9f76cc94d6fa4e7245c1a8fb68a42783c Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Fri, 2 Sep 2011 18:45:16 -0400 Subject: xkb: add missing swaps for xkbGetDeviceInfoReply Caught during review of e095369bf. Signed-off-by: Peter Harris Reviewed-by-by: Matt Turner Signed-off-by: Matt Turner (cherry picked from commit c90903b4f7a826ae6826a8dd0a901c8362500e46) Conflicts: xkb/xkb.c Signed-off-by: Peter Hutterer --- xkb/xkb.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3