touchpad: Don't process fake touches if they are not dirty
authorHans de Goede <hdegoede@redhat.com>
Fri, 18 Jul 2014 09:06:37 +0000 (11:06 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 Jul 2014 10:20:49 +0000 (20:20 +1000)
commit9720c16eccec922630cde4ebf20490a688b33f35
tree424c182faf810b465a8c8eaf5111780f030d11ed
parentb64fb73ace5a01576670571200f14cf1275a6bd7
touchpad: Don't process fake touches if they are not dirty

Don't process fake touches, e.g. re-adding the same position to the motion
history when they are not dirty. This could trigger for example on a button
press.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c