diff options
author | Zandr Martin <zandrmartin@gmail.com> | 2016-07-04 13:34:44 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin@gmail.com> | 2016-07-04 13:34:44 -0500 |
commit | 15a324b0d3c0d15405286794d2c8b88b764835cf (patch) | |
tree | b2c2cf4c7e7d509b515fd6b93aa34f959fb666e1 /sway/layout.c | |
parent | Spawn windows as floating if they have a parent (diff) | |
download | sway-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.c | 1 |
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; | |||
23 | void init_layout(void) { | 23 | void 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; |