diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-09-01 17:17:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-09-18 13:29:42 +1000 |
commit | 45a7edb3fb08f10652c9157243c9191a9b55c9b2 (patch) | |
tree | 6d23ab34a9095183ad2dd8fec3747a1549c03631 /test | |
parent | 49e630376b024ca86214497f0ee0bdd4229ba0e1 (diff) | |
download | libinput-45a7edb3fb08f10652c9157243c9191a9b55c9b2.tar.gz |
touchpad: hook up sendevents configuration
We may be in the middle of a software button click or a tap, so make sure we
go back to the device-neutral state by unwinding.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/device.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/device.c b/test/device.c index 12947409..8db69fdd 100644 --- a/test/device.c +++ b/test/device.c @@ -262,12 +262,12 @@ END_TEST int main (int argc, char **argv) { - litest_add("device:sendevents", device_sendevents_config, LITEST_ANY, LITEST_TOUCHPAD); - litest_add("device:sendevents", device_sendevents_config_default, LITEST_ANY, LITEST_TOUCHPAD); - litest_add("device:sendevents", device_disable, LITEST_POINTER, LITEST_TOUCHPAD); + litest_add("device:sendevents", device_sendevents_config, LITEST_ANY, LITEST_ANY); + litest_add("device:sendevents", device_sendevents_config_default, LITEST_ANY, LITEST_ANY); + litest_add("device:sendevents", device_disable, LITEST_POINTER, LITEST_ANY); litest_add("device:sendevents", device_disable_events_pending, LITEST_POINTER, LITEST_TOUCHPAD); - litest_add("device:sendevents", device_double_disable, LITEST_ANY, LITEST_TOUCHPAD); - litest_add("device:sendevents", device_double_enable, LITEST_ANY, LITEST_TOUCHPAD); + litest_add("device:sendevents", device_double_disable, LITEST_ANY, LITEST_ANY); + litest_add("device:sendevents", device_double_enable, LITEST_ANY, LITEST_ANY); litest_add_no_device("device:sendevents", device_reenable_syspath_changed); litest_add_no_device("device:sendevents", device_reenable_device_removed); |