diff --git a/compositor/evdev.c b/compositor/evdev.c index def22b9d..9a9a3100 100644 --- a/compositor/evdev.c +++ b/compositor/evdev.c @@ -237,6 +237,9 @@ evdev_input_add_devices(struct wlsc_compositor *c, path = udev_list_entry_get_name(entry); device = udev_device_new_from_syspath(udev, path); + if (strncmp("event", udev_device_get_sysname(device), 5) != 0) + continue; + device_seat = udev_device_get_property_value(device, "ID_SEAT"); if (!device_seat)