aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/layout.c1
1 files changed, 1 insertions, 0 deletions
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);