diff options
Diffstat (limited to 'disable-hysteresis.patch')
-rw-r--r-- | disable-hysteresis.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/disable-hysteresis.patch b/disable-hysteresis.patch new file mode 100644 index 000000000000..203ed4e0a371 --- /dev/null +++ b/disable-hysteresis.patch @@ -0,0 +1,19 @@ +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 |