From 7d947fdb952c07c5dce5a0ae6b602f02cb274736 Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Wed, 21 Sep 2016 21:05:09 -0500 Subject: add unique IDs to containers --- sway/layout.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/layout.c') 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"); -- cgit v1.2.3