aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-08 17:30:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-08 17:30:34 +0000
commit5539af25970e4590faafaba467a3df193534c299 (patch)
tree38d65e4b587b209a09b8633570fd71f035b6b1f6
parentmulti-seat: re-enable OSC 52 support (diff)
wayland: seat: log keyboard/pointer capability
-rw-r--r--wayland.c5
1 files changed, 4 insertions, 1 deletions
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) {