diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/ipc-server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 9dd3e1a5..bb5e0d25 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -564,7 +564,9 @@ void ipc_event_workspace(swayc_t *old, swayc_t *new) { for (int i = 0; i < ipc_client_list->length; i++) { struct ipc_client *client = ipc_client_list->items[i]; - if ((client->subscribed_events & IPC_GET_WORKSPACES) == 0) break; + if ((client->subscribed_events & IPC_GET_WORKSPACES) == 0) { + continue; + } ipc_send_reply(client, json_string, (uint32_t) strlen(json_string)); } |