diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-04 16:03:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-04 16:03:23 -0400 |
commit | 33c923be731c0bb1c399bf3bd1011aa969e591d8 (patch) | |
tree | 93c374e26425460bfa7ad1bc1528a1b9b5725a8e /sway/layout.c | |
parent | 33abcd9573155d36f8a40936d06a44704287a99b (diff) | |
parent | e07b8c8d7cfaaf6667a766c9d42d59fc14e98872 (diff) |
Merge pull request #735 from zandrmartin/get-tree-command
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; |