diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-05 23:05:43 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-06 09:43:52 -0400 |
commit | efac07db5fc066dd8f6d5e0dda63b463d13de0d6 (patch) | |
tree | 5a1de3dbc415c968dd3146d9337379b278502daf /swaybar | |
parent | 57954a2b24f1e211c3b8811fb898ef4e076cb098 (diff) |
Fix workspaces not updated on swaybar
Diffstat (limited to 'swaybar')
-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 92dbb8ea..e6231bd2 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -331,7 +331,7 @@ bool handle_ipc_readable(struct swaybar *bar) { switch (resp->type) { case IPC_EVENT_WORKSPACE: ipc_get_workspaces(bar); - break; + return true; case IPC_EVENT_MODE: { json_object *result = json_tokener_parse(resp->payload); if (!result) { |