sway

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

commit e7c94708f24e3a173acbb28e6d3d79884e5c2b12
parent 6afc0590a1ad1b2d7f8276d34a607e8b61fbb6ca
Author: Ian Fan <ianfan0@gmail.com>
Date:   Sun, 26 Aug 2018 10:54:27 +0100

ipc: emit window close event earlier, before destroying

Diffstat:
Msway/tree/container.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -146,10 +146,10 @@ void container_begin_destroy(struct sway_container *con) { return; } - wl_signal_emit(&con->events.destroy, con); if (con->type == C_VIEW) { ipc_event_window(con, "close"); } + wl_signal_emit(&con->events.destroy, con); container_end_mouse_operation(con);