aboutsummaryrefslogtreecommitdiff
path: root/src/draglock.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-08-14 10:48:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-08-18 10:02:00 +1000
commit291b60172d25446d2cabe61ed93e56db6570baa3 (patch)
tree1404d6925ddbabbfe59ffcc7d9c19378db2da111 /src/draglock.c
parentMake the slot-state per slot (diff)
downloadxf86-input-evdev-291b60172d25446d2cabe61ed93e56db6570baa3.tar.gz
xf86-input-evdev-291b60172d25446d2cabe61ed93e56db6570baa3.tar.bz2
xf86-input-evdev-291b60172d25446d2cabe61ed93e56db6570baa3.zip
Fix axis initialization for devices with abs x/y and rel scrollwheels
The Xen Virtual Pointer device has ABS_X, ABS_Y and REL_WHEEL. If smooth scrolling is detected, the current code would first initialize relative axes for scrolling and immediately overwrite those axes when the abs valuators are written out. This patch fixes the default case only, in the case of a device setting the two Ignore*Axis options both to "off", the axes are still overwritten. The wheels will work, other axes only if the same number of abs axes exists. And it keeps the current memory leak too, but it's marked with a FIXME now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/draglock.c')
0 files changed, 0 insertions, 0 deletions