From c10fc5b526b8ec4bb4d1fae68790b1592d12fd4d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 10 Aug 2015 17:31:19 -0400 Subject: [PATCH] Set view->visible to true when created --- sway/layout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/layout.c b/sway/layout.c index 28fe33de..bec1ec49 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -186,6 +186,7 @@ void add_view(wlc_handle view_handle) { view->handle = view_handle; view->parent = parent; view->type = C_VIEW; + view->visible = true; if (title) { view->name = malloc(strlen(title) + 1); strcpy(view->name, title);