compositor-drm: log input device hot-unplugs
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
d2e69c2c6f
commit
42b3f6ae64
@ -1905,6 +1905,8 @@ evdev_udev_handler(int fd, uint32_t mask, void *data)
|
||||
devnode = udev_device_get_devnode(udev_device);
|
||||
wl_list_for_each_safe(device, next, &seat->devices_list, link)
|
||||
if (!strcmp(device->devnode, devnode)) {
|
||||
weston_log("input device %s, %s removed\n",
|
||||
device->devname, device->devnode);
|
||||
evdev_input_device_destroy(device);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user