Remove redundant container creation in view initialization

This commit is contained in:
Ian Fan 2018-09-15 01:03:19 +01:00
parent b842b4f32e
commit 25ba80057d

View file

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