summaryrefslogtreecommitdiff
path: root/Xi/opendev.h
diff options
context:
space:
mode:
authorMax Schwarz <Max@x-quadraht.de>2011-09-25 20:44:26 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2011-09-30 09:25:03 +1000
commitf32c827d513c44f07e1d0fbcc0c96cef18c9a4d9 (patch)
treeb330799aba0ddc6a69736905a686ff807a7023bb /Xi/opendev.h
parent4c6bc0e76599dbe5ede2e1f48c9936a0e996b638 (diff)
Input: Fix frac calculation on [Raw]DeviceEvent conversion
(1UL << 32) evaluates to 0 (at least here), so do the fraction calculation in two steps as in libXi. Fractions on xXIRawEvent were not multiplied at all, which also gave 0 as result. Signed-off-by: Max Schwarz <Max@x-quadraht.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/opendev.h')
0 files changed, 0 insertions, 0 deletions