Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename sway_root.outputs to sway_root.all_outputs #2513

Merged
merged 2 commits into from
Aug 26, 2018

Conversation

RyanDwyer
Copy link
Member

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.

@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment here clarifying what kind of outputs are included here? Then you don't need to change the variable name at all.

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.
@ddevault ddevault merged commit 10c2c09 into swaywm:master Aug 26, 2018
@ddevault
Copy link
Contributor

Thanks!

@RyanDwyer RyanDwyer deleted the rename-root-outputs branch August 26, 2018 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants