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

@ -200,7 +200,6 @@ static void handle_unmap(struct wl_listener *listener, void *data) {
wl_list_remove(&xdg_shell_v6_view->commit.link);
wl_list_remove(&xdg_shell_v6_view->new_popup.link);
view->surface = NULL;
}
static void handle_map(struct wl_listener *listener, void *data) {