mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 04:40:02 +01:00
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 commitc90903b4f7) Conflicts: xkb/xkb.c Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commitec8ee3a9f7)
This commit is contained in:
parent
e4bf3807ae
commit
8011c9f160
1 changed files with 3 additions and 0 deletions
|
|
@ -6215,6 +6215,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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue