[PATCH weston 13/20] compositor-drm: log input device hot-unplugs
Pekka Paalanen
ppaalanen at gmail.com
Fri Aug 3 04:39:09 PDT 2012
Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
src/compositor-drm.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 7888ce1..dcb3a14 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1892,6 +1892,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;
}
--
1.7.8.6
More information about the wayland-devel
mailing list