Merge branch 'master' into fullscreen

This commit is contained in:
emersion 2017-11-20 19:47:27 +01:00
commit a7a221698e
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 10 additions and 3 deletions

View file

@ -246,15 +246,12 @@ void view_destroy(struct roots_view *view) {
view->fullscreen_output->fullscreen_view = NULL;
}
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) {