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

Hans de Goede hdegoede at redhat.com
Wed Mar 4 04:20:55 PST 2015


Hi,

On 04-03-15 05:18, Peter Hutterer wrote:
> No effect, all devices currently have tapping disabled.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Then entire series looks good to me and is:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans

> ---
>   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);
>


More information about the wayland-devel mailing list