diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 963a1edc..62ed7482 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -171,10 +171,7 @@ tp_detect_wobbling(struct tp_dispatch *tp, tp->hysteresis.last_motion_time = time; t->last_point = t->point; - if (dx == 0 && dy != 0) /* ignore y-only changes */ - return; - - if (dtime > ms2us(40)) { + if ((dx == 0 && dy != 0) || dtime > ms2us(40)) { t->hysteresis.x_motion_history = 0; return; }