summaryrefslogtreecommitdiff
path: root/test/litest.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/litest.h')
-rw-r--r--test/litest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/litest.h b/test/litest.h
index baba5cbb..95150831 100644
--- a/test/litest.h
+++ b/test/litest.h
@@ -1064,6 +1064,8 @@ litest_enable_2fg_scroll(struct litest_device *dev)
expected = LIBINPUT_CONFIG_STATUS_SUCCESS;
litest_assert_int_eq(status, expected);
+
+ libinput_device_config_scroll_set_natural_scroll_enabled(device, 0);
}
static inline void
@@ -1077,6 +1079,8 @@ litest_enable_edge_scroll(struct litest_device *dev)
expected = LIBINPUT_CONFIG_STATUS_SUCCESS;
litest_assert_int_eq(status, expected);
+
+ libinput_device_config_scroll_set_natural_scroll_enabled(device, 0);
}
static inline bool