commit c10fc5b526b8ec4bb4d1fae68790b1592d12fd4d
parent 8f19faf6e7b681640c0c247d11bf72bab9315633
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 10 Aug 2015 17:31:19 -0400
Set view->visible to true when created
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);