Only the appletouch has pressure and thus executed that code path

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 test/test-touchpad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test-touchpad.c b/test/test-touchpad.c
index 836640b7..bf342b95 100644
--- a/test/test-touchpad.c
+++ b/test/test-touchpad.c
@@ -5805,7 +5805,7 @@ litest_setup_tests_touchpad(void)
        litest_add("touchpad:pressure", touchpad_pressure_2fg_st, 
LITEST_TOUCHPAD|LITEST_SINGLE_TOUCH, LITEST_ANY);
        litest_add("touchpad:pressure", touchpad_pressure_tap, LITEST_TOUCHPAD, 
LITEST_ANY);
        litest_add("touchpad:pressure", touchpad_pressure_tap_2fg, 
LITEST_TOUCHPAD, LITEST_ANY);
-       litest_add("touchpad:pressure", touchpad_pressure_tap_2fg_1fg_light, 
LITEST_TOUCHPAD, LITEST_ANY);
+       litest_add("touchpad:pressure", touchpad_pressure_tap_2fg_1fg_light, 
LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH);
 
        litest_add("touchpad:touch-size", touchpad_touch_size, 
LITEST_APPLE_CLICKPAD, LITEST_ANY);
        litest_add("touchpad:touch-size", touchpad_touch_size_2fg, 
LITEST_APPLE_CLICKPAD, LITEST_ANY);
-- 
2.14.3

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to