sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 42e5b4b032ab72b8dcd13e6cd40a93a394c96cd2
parent 7b015bf5357c2bfdb2d72f4d813a358f36b256b9
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Mon, 21 Dec 2015 15:40:01 +0100

Don't skip all clients on ipc_workspace_event.

Only clients not subcriped to the workspace event should be skipped.

Diffstat:
Msway/ipc-server.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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)); }