mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-22 01:40:17 -05:00
wayland: remove debug logs
This commit is contained in:
parent
4f90cbda59
commit
e6feed5311
1 changed files with 0 additions and 4 deletions
|
|
@ -106,12 +106,10 @@ seat_handle_capabilities(void *data, struct wl_seat *wl_seat,
|
||||||
if (caps & WL_SEAT_CAPABILITY_KEYBOARD) {
|
if (caps & WL_SEAT_CAPABILITY_KEYBOARD) {
|
||||||
if (wayl->keyboard == NULL) {
|
if (wayl->keyboard == NULL) {
|
||||||
wayl->keyboard = wl_seat_get_keyboard(wl_seat);
|
wayl->keyboard = wl_seat_get_keyboard(wl_seat);
|
||||||
LOG_INFO("got KBD %p", wayl->keyboard);
|
|
||||||
wl_keyboard_add_listener(wayl->keyboard, &keyboard_listener, wayl);
|
wl_keyboard_add_listener(wayl->keyboard, &keyboard_listener, wayl);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (wayl->keyboard != NULL) {
|
if (wayl->keyboard != NULL) {
|
||||||
LOG_INFO("releasing KBD %p", wayl->keyboard);
|
|
||||||
wl_keyboard_release(wayl->keyboard);
|
wl_keyboard_release(wayl->keyboard);
|
||||||
wayl->keyboard = NULL;
|
wayl->keyboard = NULL;
|
||||||
}
|
}
|
||||||
|
|
@ -120,12 +118,10 @@ seat_handle_capabilities(void *data, struct wl_seat *wl_seat,
|
||||||
if (caps & WL_SEAT_CAPABILITY_POINTER) {
|
if (caps & WL_SEAT_CAPABILITY_POINTER) {
|
||||||
if (wayl->pointer.pointer == NULL) {
|
if (wayl->pointer.pointer == NULL) {
|
||||||
wayl->pointer.pointer = wl_seat_get_pointer(wl_seat);
|
wayl->pointer.pointer = wl_seat_get_pointer(wl_seat);
|
||||||
LOG_INFO("got pointer %p", wayl->pointer.pointer);
|
|
||||||
wl_pointer_add_listener(wayl->pointer.pointer, &pointer_listener, wayl);
|
wl_pointer_add_listener(wayl->pointer.pointer, &pointer_listener, wayl);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (wayl->pointer.pointer != NULL) {
|
if (wayl->pointer.pointer != NULL) {
|
||||||
LOG_INFO("releasing pointer %p", wayl->pointer.pointer);
|
|
||||||
wl_pointer_release(wayl->pointer.pointer);
|
wl_pointer_release(wayl->pointer.pointer);
|
||||||
wayl->pointer.pointer = NULL;
|
wayl->pointer.pointer = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue