summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2017-10-26 10:17:06 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2017-10-30 09:42:28 +1000
commit368e6fa8d3e52ffb1c8fdc528285453c29b88d94 (patch)
treebd66debf08469a8676d80e6fccfd8ac89f95bbf2
parent7cfb0c7e29bf82f76bef61579bcc224919d19137 (diff)
udev: drop the version field in device groups
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@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit 57c5a409d632c44928f4560c694efba9c26dce1e)
-rw-r--r--udev/libinput-device-group.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/libinput-device-group.c b/udev/libinput-device-group.c
index fa70e115..57b6d9b2 100644
--- a/udev/libinput-device-group.c
+++ b/udev/libinput-device-group.c
@@ -128,11 +128,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);
}