[PATCH v2 libinput 1/6] test: force-release major/minor on the default touch up

Peter Hutterer peter.hutterer at who-t.net
Tue Jul 11 04:09:21 UTC 2017


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

diff --git a/test/litest.c b/test/litest.c
index abd72188..1863934b 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1653,6 +1653,8 @@ touch_up(struct litest_device *d, unsigned int slot)
 		{ .type = EV_ABS, .code = ABS_MT_SLOT, .value = LITEST_AUTO_ASSIGN },
 		{ .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = -1 },
 		{ .type = EV_ABS, .code = ABS_MT_PRESSURE, .value = 0 },
+		{ .type = EV_ABS, .code = ABS_MT_TOUCH_MAJOR, .value = 0 },
+		{ .type = EV_ABS, .code = ABS_MT_TOUCH_MINOR, .value = 0 },
 		{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
 		{ .type = -1, .code = -1 }
 	};
-- 
2.13.0



More information about the wayland-devel mailing list