diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-15 22:22:22 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-15 22:22:22 -0500 |
commit | 473ac4531fdd954764f7199792b09fe28f62ff36 (patch) | |
tree | 8d161b41282218eff59f8081d95092ef97158460 /sway/ipc-server.c | |
parent | Parse command line in swaybar (diff) | |
download | sway-473ac4531fdd954764f7199792b09fe28f62ff36.tar.gz sway-473ac4531fdd954764f7199792b09fe28f62ff36.tar.zst sway-473ac4531fdd954764f7199792b09fe28f62ff36.zip |
[swaybar] Get bar config via IPC
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 6764a459..ea8e8894 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -455,6 +455,7 @@ void ipc_client_handle_command(struct ipc_client *client) { | |||
455 | const char *json_string = json_object_to_json_string(json); | 455 | const char *json_string = json_object_to_json_string(json); |
456 | ipc_send_reply(client, json_string, (uint32_t)strlen(json_string)); | 456 | ipc_send_reply(client, json_string, (uint32_t)strlen(json_string)); |
457 | json_object_put(json); // free | 457 | json_object_put(json); // free |
458 | break; | ||
458 | } | 459 | } |
459 | } | 460 | } |
460 | default: | 461 | default: |