compositor-drm: log input device hot-unplugs

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Pekka Paalanen 2012-08-03 14:39:09 +03:00 committed by Kristian Høgsberg
parent d2e69c2c6f
commit 42b3f6ae64

View File

@ -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;
}