diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-31 14:39:18 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-02 11:09:23 -0400 |
commit | 333dbcbe72b6af95573e374b66ad6ab63f274299 (patch) | |
tree | b73facc5f8399ca6328898749941d5ae195dec8d /swaybar/ipc.c | |
parent | Demarcate i3bar JSON into individual updates (diff) | |
download | sway-333dbcbe72b6af95573e374b66ad6ab63f274299.tar.gz sway-333dbcbe72b6af95573e374b66ad6ab63f274299.tar.zst sway-333dbcbe72b6af95573e374b66ad6ab63f274299.zip |
Render i3bar blocks
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r-- | swaybar/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c index 64583df0..ed5d9a31 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c | |||
@@ -323,7 +323,7 @@ void ipc_initialize(struct swaybar *bar, const char *bar_id) { | |||
323 | IPC_SUBSCRIBE, subscribe, &len)); | 323 | IPC_SUBSCRIBE, subscribe, &len)); |
324 | } | 324 | } |
325 | 325 | ||
326 | bool handle_ipc_event(struct swaybar *bar) { | 326 | bool handle_ipc_readable(struct swaybar *bar) { |
327 | struct ipc_response *resp = ipc_recv_response(bar->ipc_event_socketfd); | 327 | struct ipc_response *resp = ipc_recv_response(bar->ipc_event_socketfd); |
328 | if (!resp) { | 328 | if (!resp) { |
329 | return false; | 329 | return false; |