[PATCH libinput 3/6] touchpad: always enable trackpoint palm detection

Peter Hutterer peter.hutterer at who-t.net
Fri Apr 21 00:05:18 UTC 2017


Trackpoints are situated so that a user is pretty much guaranteed to trigger
some palm interaction, even if on a small touchpad. Always enable trackpoint
monitoring on touchpads where required.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evdev-mt-touchpad.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 3fd1f29..9322393 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -2239,6 +2239,8 @@ tp_init_palmdetect(struct tp_dispatch *tp,
 	    !tp_is_tpkb_combo_below(device))
 		return;
 
+	tp->palm.monitor_trackpoint = true;
+
 	evdev_device_get_size(device, &width, &height);
 
 	/* Enable palm detection on touchpads >= 70 mm. Anything smaller
-- 
2.9.3



More information about the wayland-devel mailing list