blob: da8aaa6670527e5558c7d164c8bdd46302fbd86d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/src/evdev-mt-touchpad.c 2018-04-08 19:11:22.549800840 +0100
+++ b/src/evdev-mt-touchpad.c 2018-04-08 19:11:45.022773612 +0100
@@ -3022,12 +3022,8 @@
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;
tp->hysteresis.enabled = false;
}
|