diff options
author | 2018-03-30 00:02:29 -0400 | |
---|---|---|
committer | 2018-03-30 00:04:04 -0400 | |
commit | f26ecd9f58bb672fe107660ce9b37f4bf0777a8c (patch) | |
tree | 997658454de40db3f8b76b68d658efaf2b686188 /sway/config/bar.c | |
parent | Early return from render functions if necessary (diff) | |
parent | Merge pull request #1654 from acrisci/refactor-2-electric-boogaloo (diff) | |
download | sway-f26ecd9f58bb672fe107660ce9b37f4bf0777a8c.tar.gz sway-f26ecd9f58bb672fe107660ce9b37f4bf0777a8c.tar.zst sway-f26ecd9f58bb672fe107660ce9b37f4bf0777a8c.zip |
Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
Diffstat (limited to 'sway/config/bar.c')
-rw-r--r-- | sway/config/bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 10abdef7..48b2fc7c 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c | |||
@@ -202,7 +202,7 @@ void invoke_swaybar(struct bar_config *bar) { | |||
202 | } | 202 | } |
203 | 203 | ||
204 | static bool active_output(const char *name) { | 204 | static bool active_output(const char *name) { |
205 | swayc_t *cont = NULL; | 205 | struct sway_container *cont = NULL; |
206 | for (int i = 0; i < root_container.children->length; ++i) { | 206 | for (int i = 0; i < root_container.children->length; ++i) { |
207 | cont = root_container.children->items[i]; | 207 | cont = root_container.children->items[i]; |
208 | if (cont->type == C_OUTPUT && strcasecmp(name, cont->name) == 0) { | 208 | if (cont->type == C_OUTPUT && strcasecmp(name, cont->name) == 0) { |