aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <RyanDwyer@users.noreply.github.com>2018-07-10 20:41:02 +1000
committerLibravatar GitHub <noreply@github.com>2018-07-10 20:41:02 +1000
commit56ad148403d77a6defcbd6cd383dd5cde1a44954 (patch)
tree9dc36287be4bed02c4e98e600f26f48ceff5d8d6 /swaybar/ipc.c
parentFix titlebar rendering for nested stacked containers (diff)
parentMerge pull request #2228 from emersion/focus-mode-toggle (diff)
downloadsway-56ad148403d77a6defcbd6cd383dd5cde1a44954.tar.gz
sway-56ad148403d77a6defcbd6cd383dd5cde1a44954.tar.zst
sway-56ad148403d77a6defcbd6cd383dd5cde1a44954.zip
Merge branch 'master' into fix-stacked-layout
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index 959fa095..08531f2a 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -327,7 +327,7 @@ bool handle_ipc_readable(struct swaybar *bar) {
327 json_object *result = json_tokener_parse(resp->payload); 327 json_object *result = json_tokener_parse(resp->payload);
328 if (!result) { 328 if (!result) {
329 free_ipc_response(resp); 329 free_ipc_response(resp);
330 wlr_log(L_ERROR, "failed to parse payload as json"); 330 wlr_log(WLR_ERROR, "failed to parse payload as json");
331 return false; 331 return false;
332 } 332 }
333 json_object *json_change, *json_pango_markup; 333 json_object *json_change, *json_pango_markup;
@@ -340,7 +340,7 @@ bool handle_ipc_readable(struct swaybar *bar) {
340 bar->config->mode = strdup(change); 340 bar->config->mode = strdup(change);
341 } 341 }
342 } else { 342 } else {
343 wlr_log(L_ERROR, "failed to parse response"); 343 wlr_log(WLR_ERROR, "failed to parse response");
344 json_object_put(result); 344 json_object_put(result);
345 free_ipc_response(resp); 345 free_ipc_response(resp);
346 return false; 346 return false;