evdev: Don't transform device->abs.x/y in place
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Aug 2013 05:12:24 +0000 (22:12 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 29 Aug 2013 05:12:24 +0000 (22:12 -0700)
commit6c7583de2ac36328ff40ef16f49c4c3d516cadd4
tree53e1f77b2f6e1dcf187922ac4984ed8b8cd1d174
parentc4df4082c24ab430d1f91970302702e6078221f3
evdev: Don't transform device->abs.x/y in place

We don't always get both an X and an Y event in a SYN report, so we end
up transforming the coordinate we don't get twice.  For example, if we
only receive an ABS_X event, we transform the already transformed
device->abs.y again in transform_absolute() when applying the calibration.
src/evdev.c