diff options
author | Tom Vincent | 2017-04-03 16:30:11 +0100 |
---|---|---|
committer | Tom Vincent | 2017-04-03 16:30:34 +0100 |
commit | 30a30daa9775fd99669fd01c56b8830b9cb435ed (patch) | |
tree | 511fb4939e66075c78b3207edd5e642543671cce /disable-hysteresis.patch | |
download | aur-30a30daa9775fd99669fd01c56b8830b9cb435ed.tar.gz |
Initial commit
Based off ABS extra/libinput.
Relevant upstream issues:
https://bugs.freedesktop.org/show_bug.cgi?id=94379
https://bugs.freedesktop.org/show_bug.cgi?id=98839
https://cgit.freedesktop.org/wayland/libinput/commit/?id=48473994c8e60189356feae7b7eae25288e5ac28
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 |