From 5539af25970e4590faafaba467a3df193534c299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 8 Jul 2020 19:30:34 +0200 Subject: [PATCH] wayland: seat: log keyboard/pointer capability --- wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wayland.c b/wayland.c index f9ec4483..8b4292ae 100644 --- a/wayland.c +++ b/wayland.c @@ -160,7 +160,10 @@ seat_handle_capabilities(void *data, struct wl_seat *wl_seat, { struct seat *seat = data; assert(seat->wl_seat == wl_seat); - //struct wayland *wayl = data; + + LOG_DBG("%s: keyboard=%s, pointer=%s", seat->name, + (caps & WL_SEAT_CAPABILITY_KEYBOARD) ? "yes" : "no", + (caps & WL_SEAT_CAPABILITY_POINTER) ? "yes" : "no"); if (caps & WL_SEAT_CAPABILITY_KEYBOARD) { if (seat->wl_keyboard == NULL) {