aboutsummarylogtreecommitdiffstats
path: root/disable-hysteresis.patch
blob: 203ed4e0a371107475fca24fd3c298058c59a540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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