Merge remote-tracking branch 'origin/wlroots' into swaybar-layers

This commit is contained in:
Drew DeVault 2018-03-30 00:02:29 -04:00
commit f26ecd9f58
39 changed files with 618 additions and 589 deletions

View file

@ -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) {