Remove redundant container creation in view initialization

master
Ian Fan 6 years ago
parent b842b4f32e
commit 25ba80057d

@ -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) {

Loading…
Cancel
Save