Move unsetting of view->surface into view_unmap

This commit is contained in:
Ryan Dwyer 2018-06-27 17:54:57 +10:00
parent 8773ed3970
commit e6829c5991
4 changed files with 1 additions and 4 deletions

View file

@ -555,6 +555,7 @@ void view_unmap(struct sway_view *view) {
struct sway_container *parent = container_destroy(view->swayc);
arrange_and_commit(parent);
}
view->surface = NULL;
}
void view_update_position(struct sway_view *view, double lx, double ly) {