summaryrefslogtreecommitdiff
path: root/test/test-touchpad.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-02-27 11:02:06 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-02-28 11:32:08 +1000
commitd6379bc3f3ee57a02b23f99b82a50aaa4cfe7b04 (patch)
treeea1ea42bd76d0b54ffe72450ff3819beecc3609e /test/test-touchpad.c
parent1798cbdcaacf38def1c7525b8c2df5c8f27f3769 (diff)
touchpad: reduce minimum height for horiz edge scrolling to 40mm
Introduced in commit 8e7f99c27ab39 we only allowed horizontal edge scrolling on devices larger than 50mm to leave enough reactive space on the touchpad. Looking at a ruler, a 50mm high touchpad is still large enough to leave the bottom 7mm as an horizontal edge scroll area. Reduce the minimum size to 40mm instead, that's closer to where it starts to get a bit iffy. https://bugzilla.redhat.com/show_bug.cgi?id=1422221 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/test-touchpad.c')
-rw-r--r--test/test-touchpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-touchpad.c b/test/test-touchpad.c
index 4656443c..29039b35 100644
--- a/test/test-touchpad.c
+++ b/test/test-touchpad.c
@@ -462,7 +462,7 @@ touchpad_has_horiz_edge_scroll_size(struct litest_device *dev)
rc = libinput_device_get_size(dev->libinput_device, &width, &height);
- return rc == 0 && height >= 50;
+ return rc == 0 && height >= 40;
}
START_TEST(touchpad_edge_scroll_horiz)