aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/ipc.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-03-31 14:39:18 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-02 11:09:23 -0400
commit333dbcbe72b6af95573e374b66ad6ab63f274299 (patch)
treeb73facc5f8399ca6328898749941d5ae195dec8d /swaybar/ipc.c
parentDemarcate i3bar JSON into individual updates (diff)
downloadsway-333dbcbe72b6af95573e374b66ad6ab63f274299.tar.gz
sway-333dbcbe72b6af95573e374b66ad6ab63f274299.tar.zst
sway-333dbcbe72b6af95573e374b66ad6ab63f274299.zip
Render i3bar blocks
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c2
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
326bool handle_ipc_event(struct swaybar *bar) { 326bool 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;