Files
xserver/dix
Peter Hutterer 6f28388187 dix: reset last.scroll when resetting the valuator (#45611)
last.scroll remained on the last-submitted scrolling value but last.valuator
was changed whenever the slave device changed. The first scrolling delta
after a switch was then calculated as (last.scroll - new abs value), causing
erroneous scrolling events.

Test case:
- synaptics with a scrolling method enabled, other device with 3+ axes (e.g.
  wacom)
- scroll on touchpad
- use other device
- scroll on touchpad

The second scroll caused erroneous button press/release events.

X.Org Bug 45611 <http://bugs.freedesktop.org/show_bug.cgi?id=45611>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2012-02-14 21:47:30 +10:00
..
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2010-11-11 23:20:35 +02:00
2012-02-08 19:06:17 +10:00
2010-12-06 19:15:26 -08:00
2009-08-28 23:29:05 -04:00
2011-03-01 07:58:06 -05:00
2011-09-21 17:14:44 -04:00
2012-02-08 18:04:15 +10:00