Store sway_outputs so that they can be reenabled

This commit is contained in:
Brian Ashworth 2018-06-05 17:56:32 -04:00
parent 22c1c4beb4
commit a1b5b93d29
11 changed files with 118 additions and 33 deletions

View file

@ -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);