diff --git src/evdev-mt-touchpad.c src/evdev-mt-touchpad.c index 4a8b618..6cef479 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -2351,12 +2351,8 @@ tp_init_default_resolution(struct tp_dispatch *tp, static inline void tp_init_hysteresis(struct tp_dispatch *tp) { - int res_x, res_y; - - res_x = tp->device->abs.absinfo_x->resolution; - res_y = tp->device->abs.absinfo_y->resolution; - tp->hysteresis_margin.x = res_x/2; - tp->hysteresis_margin.y = res_y/2; + tp->hysteresis_margin.x = 0; + tp->hysteresis_margin.y = 0; } static void