mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
Don't skip all clients on ipc_workspace_event.
Only clients not subcriped to the workspace event should be skipped.
This commit is contained in:
parent
7b015bf535
commit
42e5b4b032
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue