ipc: add window::close event
This commit is contained in:
parent
87ccf18964
commit
f0310933c8
1 changed files with 5 additions and 1 deletions
|
@ -321,7 +321,11 @@ static struct sway_container *container_destroy_noreaping(
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_signal_emit(&con->events.destroy, con);
|
wl_signal_emit(&con->events.destroy, con);
|
||||||
ipc_event_window(con, "close");
|
|
||||||
|
// emit IPC event
|
||||||
|
if (con->type == C_VIEW) {
|
||||||
|
ipc_event_window(con, "close");
|
||||||
|
}
|
||||||
|
|
||||||
// The below functions move their children to somewhere else.
|
// The below functions move their children to somewhere else.
|
||||||
if (con->type == C_OUTPUT) {
|
if (con->type == C_OUTPUT) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue