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

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to