[PATCH libinput 1/7] test: disable tapping for pure motion tests

Peter Hutterer peter.hutterer at who-t.net
Tue Mar 3 20:18:31 PST 2015


No effect, all devices currently have tapping disabled.

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

diff --git a/test/touchpad.c b/test/touchpad.c
index b70d373..d1f1257 100644
--- a/test/touchpad.c
+++ b/test/touchpad.c
@@ -38,6 +38,9 @@ START_TEST(touchpad_1fg_motion)
 	struct libinput_event *event;
 	struct libinput_event_pointer *ptrev;
 
+	libinput_device_config_tap_set_enabled(dev->libinput_device,
+					       LIBINPUT_CONFIG_TAP_DISABLED);
+
 	litest_drain_events(li);
 
 	litest_touch_down(dev, 0, 50, 50);
@@ -68,6 +71,9 @@ START_TEST(touchpad_2fg_no_motion)
 	struct libinput *li = dev->libinput;
 	struct libinput_event *event;
 
+	libinput_device_config_tap_set_enabled(dev->libinput_device,
+					       LIBINPUT_CONFIG_TAP_DISABLED);
+
 	litest_drain_events(li);
 
 	litest_touch_down(dev, 0, 20, 20);
-- 
2.1.0



More information about the wayland-devel mailing list