This commit is contained in:
Ronan Pigott 2022-10-31 02:48:16 +09:00 committed by GitHub
commit 070da75b87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -104,8 +104,6 @@ void container_begin_destroy(struct sway_container *con) {
container_fullscreen_disable(con);
}
wl_signal_emit(&con->node.events.destroy, &con->node);
container_end_mouse_operation(con);
con->node.destroying = true;

View file

@ -891,6 +891,7 @@ void view_unmap(struct sway_view *view) {
seat_consider_warp_to_focus(seat);
}
wl_signal_emit(&view->container->node.events.destroy, &view->container->node);
transaction_commit_dirty();
view->surface = NULL;
}