aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.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/desktop.c
parent444257b6b17935be5dff11791e9ac9d52cf811b7 (diff)
parent6bde8dd56beebc429445196d7d4a120677289317 (diff)
Merge branch 'master' into feature/xwm-selection
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index cf5a8cdc..65730807 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -181,15 +181,12 @@ bool view_center(struct roots_view *view) {
void view_destroy(struct roots_view *view) {
wl_signal_emit(&view->events.destroy, view);
- wl_list_remove(&view->link);
free(view);
}
void view_init(struct roots_view *view, struct roots_desktop *desktop) {
view->desktop = desktop;
wl_signal_init(&view->events.destroy);
-
- wl_list_insert(&desktop->views, &view->link);
}
void view_setup(struct roots_view *view) {