aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-10 17:31:19 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-10 17:31:19 -0400
commitc10fc5b526b8ec4bb4d1fae68790b1592d12fd4d (patch)
tree9fe602e9b415d33c668f460c071597f5c558dae1 /sway
parent8f19faf6e7b681640c0c247d11bf72bab9315633 (diff)
downloadsway-c10fc5b526b8ec4bb4d1fae68790b1592d12fd4d.tar.xz
Set view->visible to true when created
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);