[PATCH libinput] touchpad: Allow larger palm sizes.

Ronald Tschalär ronald at innovation.ch
Fri Aug 4 21:38:38 UTC 2017


On MBP13,3 the touch areas are quite large, and a thumb size easily gets
to 1000+. Hence need to be able to set palm sizes > 1024 (using 1200
currently).
---
 src/libinput-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libinput-util.c b/src/libinput-util.c
index c7cb2b4..48cb718 100644
--- a/src/libinput-util.c
+++ b/src/libinput-util.c
@@ -450,7 +450,7 @@ parse_palm_size_property(const char *prop)
 	if (!prop)
 		return 0;
 
-	if (!safe_atoi(prop, &thr) || thr < 0 || thr > 1024)
+	if (!safe_atoi(prop, &thr) || thr < 0 || thr > 2028)
 		return 0;
 
         return thr;
-- 
2.13.3



More information about the wayland-devel mailing list