[PATCH libinput 1/4] test: set the input_id->version as well in litest devices

Peter Hutterer peter.hutterer at who-t.net
Wed Jan 28 20:55:07 PST 2015


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 test/litest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/litest.c b/test/litest.c
index 7d48278..b5ce0a8 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1048,6 +1048,7 @@ litest_create_uinput_device_from_description(const char *name,
 		libevdev_set_id_bustype(dev, id->bustype);
 		libevdev_set_id_vendor(dev, id->vendor);
 		libevdev_set_id_product(dev, id->product);
+		libevdev_set_id_version(dev, id->version);
 	}
 
 	abs = abs_info;
-- 
2.1.0



More information about the wayland-devel mailing list