wayland: seat: log keyboard/pointer capability

This commit is contained in:
Daniel Eklöf 2020-07-08 19:30:34 +02:00
parent 11373a6561
commit 5539af2597
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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) {