sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 33fb648938d2a6810da6b5c830404c52edb9868b
parent 702cf053e2a14680e57db07416fd440e0f3009a8
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 20 Dec 2015 09:23:34 -0500

Merge pull request #372 from sce/fix_swaybar_output_name_test

config: load_swaybars: Fix name comparison.
Diffstat:
Msway/config.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/config.c b/sway/config.c @@ -452,7 +452,7 @@ void load_swaybars(swayc_t *output, int output_idx) { int j; for (j = 0; j < bar->outputs->length; ++j) { char *o = bar->outputs->items[j]; - if (strcmp(o, "*") || strcasecmp(o, output->name)) { + if (!strcmp(o, "*") || !strcasecmp(o, output->name)) { apply = true; break; }