From 2e7401772e740487bed27fc07c4d83398480ae6a Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 25 Aug 2018 19:29:04 +1000 Subject: Rename sway_root.outputs to sway_root.all_outputs This list includes disabled outputs. When sway_container is demoted, we'll need to store the root's children (ie. enabled outputs) in the sway_root. It makes sense to put these in a list called `outputs`, so I'm renaming the existing list in advance. --- include/sway/tree/root.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sway/tree') diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h index ee4bd836..f9d83874 100644 --- a/include/sway/tree/root.h +++ b/include/sway/tree/root.h @@ -21,7 +21,7 @@ struct sway_root { struct wlr_texture *debug_tree; - struct wl_list outputs; // sway_output::link + struct wl_list all_outputs; // sway_output::link list_t *scratchpad; // struct sway_container list_t *saved_workspaces; // For when there's no connected outputs -- cgit v1.2.3-54-g00ecf From 1e024b91fab9df3458c2fd7535e8bbe2a37c0997 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 25 Aug 2018 23:42:04 +1000 Subject: Add comment for sway_root.all_outputs --- include/sway/tree/root.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/tree') diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h index f9d83874..ec6516c9 100644 --- a/include/sway/tree/root.h +++ b/include/sway/tree/root.h @@ -21,6 +21,7 @@ struct sway_root { struct wlr_texture *debug_tree; + // Includes disabled outputs struct wl_list all_outputs; // sway_output::link list_t *scratchpad; // struct sway_container -- cgit v1.2.3-54-g00ecf