aboutsummaryrefslogtreecommitdiff
path: root/rootston/wl_shell.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-21 07:55:36 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-21 07:55:36 -0500
commite786d17f632377b6875c812d67165bcddb0a4826 (patch)
treef447fedce70e3b97778990726fc99b73c58fe885 /rootston/wl_shell.c
parent444257b6b17935be5dff11791e9ac9d52cf811b7 (diff)
parent6bde8dd56beebc429445196d7d4a120677289317 (diff)
Merge branch 'master' into feature/xwm-selection
Diffstat (limited to 'rootston/wl_shell.c')
-rw-r--r--rootston/wl_shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/wl_shell.c b/rootston/wl_shell.c
index 7359c878..d0f5989b 100644
--- a/rootston/wl_shell.c
+++ b/rootston/wl_shell.c
@@ -83,6 +83,7 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
wl_list_remove(&roots_surface->request_set_maximized.link);
wl_list_remove(&roots_surface->set_state.link);
wl_list_remove(&roots_surface->surface_commit.link);
+ wl_list_remove(&roots_surface->view->link);
view_destroy(roots_surface->view);
free(roots_surface);
}
@@ -131,6 +132,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) {
view->close = close;
roots_surface->view = view;
view_init(view, desktop);
+ wl_list_insert(&desktop->views, &view->link);
view_setup(view);