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

Benjamin Tissoires benjamin.tissoires at gmail.com
Thu Oct 26 08:17:06 UTC 2017


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>
---
 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