mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
ipc: emit window close event earlier, before destroying
This commit is contained in:
parent
6afc0590a1
commit
e7c94708f2
1 changed files with 1 additions and 1 deletions
|
@ -146,10 +146,10 @@ void container_begin_destroy(struct sway_container *con) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_signal_emit(&con->events.destroy, con);
|
|
||||||
if (con->type == C_VIEW) {
|
if (con->type == C_VIEW) {
|
||||||
ipc_event_window(con, "close");
|
ipc_event_window(con, "close");
|
||||||
}
|
}
|
||||||
|
wl_signal_emit(&con->events.destroy, con);
|
||||||
|
|
||||||
container_end_mouse_operation(con);
|
container_end_mouse_operation(con);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue