aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config/bar.c')
-rw-r--r--sway/config/bar.c2
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
204static bool active_output(const char *name) { 204static 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) {