summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
authorLibravatar Zandr Martin <zandrmartin@gmail.com>2016-07-04 13:34:44 -0500
committerLibravatar Zandr Martin <zandrmartin@gmail.com>2016-07-04 13:34:44 -0500
commit15a324b0d3c0d15405286794d2c8b88b764835cf (patch)
treeb2c2cf4c7e7d509b515fd6b93aa34f959fb666e1 /sway/layout.c
parentSpawn windows as floating if they have a parent (diff)
downloadsway-15a324b0d3c0d15405286794d2c8b88b764835cf.tar.gz
sway-15a324b0d3c0d15405286794d2c8b88b764835cf.tar.zst
sway-15a324b0d3c0d15405286794d2c8b88b764835cf.zip
implement `get_tree` command
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 952bcf1c..27760f35 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -23,6 +23,7 @@ int min_sane_w = 100;
23void init_layout(void) { 23void init_layout(void) {
24 root_container.type = C_ROOT; 24 root_container.type = C_ROOT;
25 root_container.layout = L_NONE; 25 root_container.layout = L_NONE;
26 root_container.name = strdup("root");
26 root_container.children = create_list(); 27 root_container.children = create_list();
27 root_container.handle = -1; 28 root_container.handle = -1;
28 root_container.visible = true; 29 root_container.visible = true;