aboutsummaryrefslogtreecommitdiff
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) {
}
static bool active_output(const char *name) {
- swayc_t *cont = NULL;
+ struct sway_container *cont = NULL;
for (int i = 0; i < root_container.children->length; ++i) {
cont = root_container.children->items[i];
if (cont->type == C_OUTPUT && strcasecmp(name, cont->name) == 0) {