aboutsummaryrefslogtreecommitdiff
path: root/swaybar/i3bar.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-07-09 22:54:30 +0100
committerFurkan Sahin <furkan-dev@proton.me>2018-07-09 22:54:30 +0100
commit293a3b0cea9da2281a0d6a34041c5dca181b7bba (patch)
tree76624b3d4820551261e5c15f773c403c1a41264e /swaybar/i3bar.c
parent852a55136e991eb35bf2736bdb8c3f8535d09c6d (diff)
Update for swaywm/wlroots#1126
Diffstat (limited to 'swaybar/i3bar.c')
-rw-r--r--swaybar/i3bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/i3bar.c b/swaybar/i3bar.c
index 141612a6..26f073c8 100644
--- a/swaybar/i3bar.c
+++ b/swaybar/i3bar.c
@@ -31,7 +31,7 @@ static bool i3bar_parse_json(struct status_line *status, const char *text) {
status_error(status, "[failed to parse i3bar json]");
return false;
}
- wlr_log(L_DEBUG, "Got i3bar json: '%s'", text);
+ wlr_log(WLR_DEBUG, "Got i3bar json: '%s'", text);
for (size_t i = 0; i < json_object_array_length(results); ++i) {
json_object *full_text, *short_text, *color, *min_width, *align, *urgent;
json_object *name, *instance, *separator, *separator_block_width;
@@ -193,7 +193,7 @@ bool i3bar_handle_readable(struct status_line *status) {
void i3bar_block_send_click(struct status_line *status,
struct i3bar_block *block, int x, int y, uint32_t button) {
- wlr_log(L_DEBUG, "block %s clicked", block->name ? block->name : "(nil)");
+ wlr_log(WLR_DEBUG, "block %s clicked", block->name ? block->name : "(nil)");
if (!block->name || !status->i3bar_state.click_events) {
return;
}