Merge pull request #2633 from ianyfan/view-recon-fix

Remove redundant container creation in view initialisation
This commit is contained in:
Drew DeVault 2018-09-14 20:45:56 -04:00 committed by GitHub
commit 5d104ae537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,6 @@ void view_init(struct sway_view *view, enum sway_view_type type,
view->marks = create_list(); view->marks = create_list();
view->allow_request_urgent = true; view->allow_request_urgent = true;
wl_signal_init(&view->events.unmap); wl_signal_init(&view->events.unmap);
view->container = container_create(view);
} }
void view_destroy(struct sway_view *view) { void view_destroy(struct sway_view *view) {