diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-09 16:12:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:12:20 -0700 |
commit | 2518de655c7278728736d22549656c639e4c92f0 (patch) | |
tree | acd08ceb9709eb25541fa02fbc533a7c6a99dbad /examples/layer-shell.c | |
parent | e78d72f42e10b43a76ef5ba6b8c4b3b470b25245 (diff) | |
parent | 7cbef152063e1fbb24e6204339ff4587a74be04b (diff) |
Merge pull request #1126 from emersion/wlr-log-prefix
util: add wlr_ prefix to log symbols
Diffstat (limited to 'examples/layer-shell.c')
-rw-r--r-- | examples/layer-shell.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/layer-shell.c b/examples/layer-shell.c index 21ef3e93..70ae21f0 100644 --- a/examples/layer-shell.c +++ b/examples/layer-shell.c @@ -179,7 +179,7 @@ static const struct xdg_surface_listener xdg_surface_listener = { static void xdg_popup_configure(void *data, struct xdg_popup *xdg_popup, int32_t x, int32_t y, int32_t width, int32_t height) { - wlr_log(L_DEBUG, "Popup configured %dx%d@%d,%d", + wlr_log(WLR_DEBUG, "Popup configured %dx%d@%d,%d", width, height, x, y); popup_width = width; popup_height = height; @@ -199,7 +199,7 @@ static void popup_destroy(void) { } static void xdg_popup_done(void *data, struct xdg_popup *xdg_popup) { - wlr_log(L_DEBUG, "Popup done"); + wlr_log(WLR_DEBUG, "Popup done"); popup_destroy(); } @@ -378,17 +378,17 @@ static void wl_keyboard_keymap(void *data, struct wl_keyboard *wl_keyboard, static void wl_keyboard_enter(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, struct wl_surface *surface, struct wl_array *keys) { - wlr_log(L_DEBUG, "Keyboard enter"); + wlr_log(WLR_DEBUG, "Keyboard enter"); } static void wl_keyboard_leave(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, struct wl_surface *surface) { - wlr_log(L_DEBUG, "Keyboard leave"); + wlr_log(WLR_DEBUG, "Keyboard leave"); } static void wl_keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, uint32_t time, uint32_t key, uint32_t state) { - wlr_log(L_DEBUG, "Key event: %d %d", key, state); + wlr_log(WLR_DEBUG, "Key event: %d %d", key, state); } static void wl_keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, @@ -474,7 +474,7 @@ static const struct wl_registry_listener registry_listener = { }; int main(int argc, char **argv) { - wlr_log_init(L_DEBUG, NULL); + wlr_log_init(WLR_DEBUG, NULL); char *namespace = "wlroots"; int exclusive_zone = 0; int32_t margin_right = 0, margin_bottom = 0, margin_left = 0; |