diff options
author | Zandr Martin <zandrmartin@gmail.com> | 2016-09-21 21:05:09 -0500 |
---|---|---|
committer | Zandr Martin <zandrmartin@gmail.com> | 2016-09-21 21:05:09 -0500 |
commit | 7d947fdb952c07c5dce5a0ae6b602f02cb274736 (patch) | |
tree | 22a573a8ff47672d32a74da1941bee2089167f5e /sway/layout.c | |
parent | Merge pull request #909 from zandrmartin/grab-focused (diff) | |
download | sway-7d947fdb952c07c5dce5a0ae6b602f02cb274736.tar.gz sway-7d947fdb952c07c5dce5a0ae6b602f02cb274736.tar.zst sway-7d947fdb952c07c5dce5a0ae6b602f02cb274736.zip |
add unique IDs to containers
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 7802c412..6012af66 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -22,6 +22,7 @@ int min_sane_h = 60; | |||
22 | int min_sane_w = 100; | 22 | int min_sane_w = 100; |
23 | 23 | ||
24 | void init_layout(void) { | 24 | void init_layout(void) { |
25 | root_container.id = 0; // normally assigned in new_swayc() | ||
25 | root_container.type = C_ROOT; | 26 | root_container.type = C_ROOT; |
26 | root_container.layout = L_NONE; | 27 | root_container.layout = L_NONE; |
27 | root_container.name = strdup("root"); | 28 | root_container.name = strdup("root"); |