diff options
author | 2018-07-09 16:28:37 -0700 | |
---|---|---|
committer | 2018-07-09 16:28:37 -0700 | |
commit | 6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107 (patch) | |
tree | 7d89592bcfb1adc10ded38d2f8d09d134ddd34fe /swaybar/i3bar.c | |
parent | Document `focus floating|tiling` (diff) | |
parent | Merge pull request #2234 from emersion/wlr-log-prefix (diff) | |
download | sway-6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107.tar.gz sway-6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107.tar.zst sway-6fd9a2bfd6f7d56dc8ed9fc40d80844cc84df107.zip |
Merge branch 'master' into focus-mode-toggle
Diffstat (limited to 'swaybar/i3bar.c')
-rw-r--r-- | swaybar/i3bar.c | 4 |
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) { | |||
31 | status_error(status, "[failed to parse i3bar json]"); | 31 | status_error(status, "[failed to parse i3bar json]"); |
32 | return false; | 32 | return false; |
33 | } | 33 | } |
34 | wlr_log(L_DEBUG, "Got i3bar json: '%s'", text); | 34 | wlr_log(WLR_DEBUG, "Got i3bar json: '%s'", text); |
35 | for (size_t i = 0; i < json_object_array_length(results); ++i) { | 35 | for (size_t i = 0; i < json_object_array_length(results); ++i) { |
36 | json_object *full_text, *short_text, *color, *min_width, *align, *urgent; | 36 | json_object *full_text, *short_text, *color, *min_width, *align, *urgent; |
37 | json_object *name, *instance, *separator, *separator_block_width; | 37 | json_object *name, *instance, *separator, *separator_block_width; |
@@ -193,7 +193,7 @@ bool i3bar_handle_readable(struct status_line *status) { | |||
193 | 193 | ||
194 | void i3bar_block_send_click(struct status_line *status, | 194 | void i3bar_block_send_click(struct status_line *status, |
195 | struct i3bar_block *block, int x, int y, uint32_t button) { | 195 | struct i3bar_block *block, int x, int y, uint32_t button) { |
196 | wlr_log(L_DEBUG, "block %s clicked", block->name ? block->name : "(nil)"); | 196 | wlr_log(WLR_DEBUG, "block %s clicked", block->name ? block->name : "(nil)"); |
197 | if (!block->name || !status->i3bar_state.click_events) { | 197 | if (!block->name || !status->i3bar_state.click_events) { |
198 | return; | 198 | return; |
199 | } | 199 | } |