diff options
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index f13e2e96..6520c176 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -146,10 +146,10 @@ void container_begin_destroy(struct sway_container *con) { | |||
146 | return; | 146 | return; |
147 | } | 147 | } |
148 | 148 | ||
149 | wl_signal_emit(&con->events.destroy, con); | ||
150 | if (con->type == C_VIEW) { | 149 | if (con->type == C_VIEW) { |
151 | ipc_event_window(con, "close"); | 150 | ipc_event_window(con, "close"); |
152 | } | 151 | } |
152 | wl_signal_emit(&con->events.destroy, con); | ||
153 | 153 | ||
154 | container_end_mouse_operation(con); | 154 | container_end_mouse_operation(con); |
155 | 155 | ||