[PATCH libinput] udev: drop the version field in device groups

Peter Hutterer peter.hutterer at who-t.net
Thu Oct 26 22:41:41 UTC 2017


On Thu, Oct 26, 2017 at 10:17:06AM +0200, Benjamin Tissoires wrote:
> The version field is a per device information. We have
> no guarantees a touchscreen and a tablet device will share
> the same version of the firmware (especially if both
> firmwares are from different vendors).
> 
> Fixes the touch arbitration for the Dell Canvas 27
> 
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>

pushed, thanks

Cheers,
   Peter

> ---
>  udev/libinput-device-group.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/udev/libinput-device-group.c b/udev/libinput-device-group.c
> index a9d69ef..dc0daa7 100644
> --- a/udev/libinput-device-group.c
> +++ b/udev/libinput-device-group.c
> @@ -216,11 +216,10 @@ int main(int argc, char **argv)
>  #endif
>  	    snprintf(group,
>  		     sizeof(group),
> -		     "%x/%x/%x/%x:%s",
> +		     "%x/%x/%x:%s",
>  		     bustype,
>  		     vendor_id,
>  		     product_id,
> -		     version,
>  		     phys);
>  	}
>  
> -- 
> 2.14.1
> 


More information about the wayland-devel mailing list