summaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2018-06-05 17:56:32 -0400
committerBrian Ashworth <[email protected]>2018-06-06 20:11:24 -0400
commita1b5b93d299bfe129f2b3409a7f642049fcce1d6 (patch)
tree4d87f5ab8f0f18ada1fc12a4eb4ba3b5d0350527 /sway/tree/layout.c
parent22c1c4beb4baa369f883fb5360c40158513c8e10 (diff)
Store sway_outputs so that they can be reenabled
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..ce53a515 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();
+ root_container.sway_root->outputs = create_list();
wl_list_init(&root_container.sway_root->xwayland_unmanaged);
wl_signal_init(&root_container.sway_root->events.new_container);