aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-09-27 14:27:29 -0400
committerGitHub <noreply@github.com>2016-09-27 14:27:29 -0400
commita95ce5ce6575ac68a6af2c6c4cbb001be5799737 (patch)
tree938fc104869c80c036944eca7eb03402e3d5e471 /sway/layout.c
parentc55ce6ef3dee013953c6cec16eb20001ca993f81 (diff)
parent7d947fdb952c07c5dce5a0ae6b602f02cb274736 (diff)
Merge pull request #914 from zandrmartin/container-ids
add unique IDs to containers
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 7802c412..6012af66 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -22,6 +22,7 @@ int min_sane_h = 60;
int min_sane_w = 100;
void init_layout(void) {
+ root_container.id = 0; // normally assigned in new_swayc()
root_container.type = C_ROOT;
root_container.layout = L_NONE;
root_container.name = strdup("root");