@ -417,12 +417,12 @@ void view_destroy(struct roots_view *view) {
return;
}
wl_signal_emit(&view->events.destroy, view);
if (view->wlr_surface != NULL) {
view_unmap(view);
if (view->destroy) {
view->destroy(view);