[PATCH libinput 3/8] test: Remove test device from context when deleting

Jonas Ådahl jadahl at gmail.com
Wed Jul 16 13:39:08 PDT 2014


Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
 test/litest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/litest.c b/test/litest.c
index b64c7e3..961b917 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -605,6 +605,7 @@ litest_delete_device(struct litest_device *d)
 		return;
 
 	libinput_device_unref(d->libinput_device);
+	libinput_path_remove_device(d->libinput_device);
 	if (d->owns_context)
 		libinput_unref(d->libinput);
 	libevdev_free(d->evdev);
-- 
1.8.5.1



More information about the wayland-devel mailing list