diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-27 15:22:00 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-10-27 15:22:00 -0400 |
commit | c555a66ddafe3ea06f3abbf38194a8589733082d (patch) | |
tree | 2298ce1eb691b3d9d5a8ae69cb77894333f943c1 /rootston/xdg_shell_v6.c | |
parent | 325def38418f5caefd6dc23749dd2ca6bae0a36c (diff) | |
parent | b97160238fa5b61fef81316102559c8c3e137cd2 (diff) |
Merge branch 'master' into feature/xwm-rewrite
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r-- | rootston/xdg_shell_v6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index 95b20a8b..85871144 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -74,6 +74,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { static void handle_destroy(struct wl_listener *listener, void *data) { struct roots_xdg_surface_v6 *roots_xdg_surface = wl_container_of(listener, roots_xdg_surface, destroy); + view_teardown(roots_xdg_surface->view); wl_list_remove(&roots_xdg_surface->commit.link); wl_list_remove(&roots_xdg_surface->destroy.link); wl_list_remove(&roots_xdg_surface->request_move.link); @@ -126,5 +127,5 @@ void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data) { roots_surface->view = view; wlr_list_add(desktop->views, view); - view_initialize(view); + view_setup(view); } |