Skip to content
Snippets Groups Projects
Commit e8c20c72 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

evdev: restore EVDEV_UNHANDLED_DEVICE error code


If we don't have capabilities we can deal with, return a different error so
the backends can handle it separately (they already do).

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent e13f736c
No related branches found
No related tags found
Loading
......@@ -668,6 +668,10 @@ err:
if (fd >= 0)
close_restricted(libinput, fd);
evdev_device_destroy(device);
if (device->seat_caps == 0)
return EVDEV_UNHANDLED_DEVICE;
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment