mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-15 15:40:58 +01:00
ipc: add workspace::empty event
This commit is contained in:
parent
4f8f363dda
commit
686c084cec
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue