From 25ba80057d3f952cf93234815b5d31a6f1578556 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Sat, 15 Sep 2018 01:03:19 +0100 Subject: Remove redundant container creation in view initialization --- sway/tree/view.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sway/tree') diff --git a/sway/tree/view.c b/sway/tree/view.c index d02abf30..78f85de2 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -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) { -- cgit v1.2.3