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>
t->y = first->y;
if (!t->dirty)
t->dirty = first->dirty;
- } else if (!t->dirty) {
- continue;
}
+ if (!t->dirty)
+ continue;
+
tp_palm_detect(tp, t, time);
tp_motion_hysteresis(tp, t);