mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Add log.c with info() and warn()
This commit is contained in:
parent
5ea1527558
commit
2a17df0f8b
11 changed files with 68 additions and 17 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "labwc.h"
|
||||
#include "common/log.h"
|
||||
|
||||
static void keyboard_handle_modifiers(struct wl_listener *listener, void *data)
|
||||
{
|
||||
|
|
@ -65,8 +66,7 @@ static void keyboard_handle_key(struct wl_listener *listener, void *data)
|
|||
} else if (event->state == WLR_KEY_PRESSED) {
|
||||
/* cycle to next */
|
||||
server->cycle_view = next_toplevel(server->cycle_view);
|
||||
fprintf(stderr, "cycle_view=%p\n",
|
||||
(void *)server->cycle_view);
|
||||
info("cycle_view=%p", (void *)server->cycle_view);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue