summaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-06-07 19:26:55 +0100
committerGitHub <[email protected]>2018-06-07 19:26:55 +0100
commit2e289831ee3198f36e2c02bd4542fa4f6646a81b (patch)
tree7de104885aabb49f17739d7631ef6cd4f628e64a /sway/tree/layout.c
parent22c1c4beb4baa369f883fb5360c40158513c8e10 (diff)
parente072fbc6d98784e5610aa88251a15f64e30bbcae (diff)
Merge pull request #2108 from RedSoxFan/store-outputs
Allow outputs to be re-enabled
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index 82502e1b..b54dc2fe 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -35,6 +35,7 @@ void layout_init(void) {
root_container.sway_root = calloc(1, sizeof(*root_container.sway_root));
root_container.sway_root->output_layout = wlr_output_layout_create();
+ wl_list_init(&root_container.sway_root->outputs);
wl_list_init(&root_container.sway_root->xwayland_unmanaged);
wl_signal_init(&root_container.sway_root->events.new_container);