[PATCH libinput] touchpad: Allow larger palm sizes.

Peter Hutterer peter.hutterer at who-t.net
Mon Aug 14 04:39:51 UTC 2017


On Fri, Aug 04, 2017 at 02:38:38PM -0700, Ronald Tschalär wrote:
> 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).

thanks, merged and pushed

   f35e25c4..a915cbdb  master -> master

Cheers,
   Peter

> ---
>  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
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 


More information about the wayland-devel mailing list