mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 19:07:45 +03:00
Fix workspaces not updated on swaybar
This commit is contained in:
parent
57954a2b24
commit
efac07db5f
2 changed files with 13 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue