summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorBenjamin Tissoires <tissoire@cena.fr>2010-04-14 17:27:51 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2010-04-16 14:39:50 +1000
commita780e5b3638a0ff81301fc68aca15b47ba0befb7 (patch)
tree99d09db7a50932205ac2cfdce1a7b17e1384f2ab /xkb
parente424d5812300e82de375d83dc0b490a76d865016 (diff)
xf86ScaleAxis: support for high resolution devices
High resolution devices was generating integer overflow. For instance the wacom Cintiq 21UX has an axis value up to 87000. Thus the term (dSx * (Cx - Rxlow)) is greater than MAX_INT32. Using 64bits integer avoids such problem. Signed-off-by: Philippe Ribet <ribet@cena.fr> Signed-off-by: Benjamin Tissoires <tissoire@cena.fr> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkb')
0 files changed, 0 insertions, 0 deletions