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

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 29 04:59:00 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 c7869e8..91e5d23 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1635,6 +1635,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.9.3



More information about the wayland-devel mailing list