aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {