mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
Xi: add forgotten byte-swaps for Valuator fields
This has caused nonsensical values in xinput output. Signed-off-by: Roman Kapl <code@rkapl.cz> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
committed by
Peter Hutterer
parent
cefbc6a935
commit
40586cc4f8
@@ -383,6 +383,9 @@ SwapValuatorInfo(DeviceIntPtr dev, xXIValuatorInfo * info)
|
||||
swapl(&info->min.frac);
|
||||
swapl(&info->max.integral);
|
||||
swapl(&info->max.frac);
|
||||
swapl(&info->value.integral);
|
||||
swapl(&info->value.frac);
|
||||
swapl(&info->resolution);
|
||||
swaps(&info->number);
|
||||
swaps(&info->sourceid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user