sway

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

commit a5af3bce986d2bd25721f865c0c3dd37ff703eed
parent 178063319cc5380f0f82a1bd384bc4f6420e043c
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 28 Jul 2016 09:45:11 -0400

Merge pull request #796 from Hummer12007/ipc_sub

Initialize client's subscribed events
Diffstat:
Msway/ipc-server.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/ipc-server.c b/sway/ipc-server.c @@ -146,6 +146,7 @@ int ipc_handle_connection(int fd, uint32_t mask, void *data) { struct ipc_client* client = malloc(sizeof(struct ipc_client)); client->payload_length = 0; client->fd = client_fd; + client->subscribed_events = 0; client->event_source = wlc_event_loop_add_fd(client_fd, WLC_EVENT_READABLE, ipc_client_handle_readable, client); list_add(ipc_client_list, client);