sway

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

commit 686c084cec0b1143c877e8c0088732fad5229ce4
parent 4f8f363dda2495810e419be6e79c3869bb7f17d8
Author: Ian Fan <ianfan0@gmail.com>
Date:   Fri, 13 Jul 2018 21:55:04 +0100

ipc: add workspace::empty event

Diffstat:
Msway/tree/container.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -325,6 +325,8 @@ static struct sway_container *container_destroy_noreaping( // emit IPC event if (con->type == C_VIEW) { ipc_event_window(con, "close"); + } else if (con->type == C_WORKSPACE) { + ipc_event_workspace(NULL, con, "empty"); } // The below functions move their children to somewhere else.