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 | 7144fb9fc3b3d3b45d23deaab6a10caf3216cca4 (diff) |
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; void init_layout(void) { root_container.type = C_ROOT; root_container.layout = L_NONE; + root_container.name = strdup("root"); root_container.children = create_list(); root_container.handle = -1; root_container.visible = true; |