test: fix edge-scroll no-motion test
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 21 Nov 2016 04:33:30 +0000 (14:33 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 22 Nov 2016 01:23:39 +0000 (11:23 +1000)
commit4fe85b736ab5ea846a94bb22fc65cc20f59ed9f9
treeb04e3fa49ae2efee712ebbe4011a45fab4f9a4e7
parent63409a693865f11262a15d941755f1277357289e
test: fix edge-scroll no-motion test

The test is supposed to make sure no motion event is sent and that scrolling
continues once leaving the edge. It does so by moving down the edge, into the
touchpad, then down further. The move from the edge into the touchpad had a
vertical component to it though and could cause the scroll minimum test to
fail. This is currently covered up by the delta calculations though, but fix
it anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
test/touchpad.c