mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-27 15:20:51 +02:00
Xi: Swapping 32 bit keycodes requires swapl, not swaps.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
918923e285
commit
9974249980
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ SwapKeyInfo(DeviceIntPtr dev, xXIKeyInfo* info)
|
|||
swaps(&info->length, n);
|
||||
|
||||
for (i = 0, key = (uint32_t*)&info[1]; i < info->num_keycodes; i++, key++)
|
||||
swaps(key, n);
|
||||
swapl(key, n);
|
||||
|
||||
swaps(&info->num_keycodes, n);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue