sway

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

commit 6ace37d0b1cef7dee4e61ab89a58a5ad83444a82
parent 3777c8993b8967aa3fd313c2c7a9304a798efa37
Author: S. Christoffer Eliesen <christoffer@eliesen.no>
Date:   Sun, 20 Dec 2015 12:52:25 +0100

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 @@ -450,7 +450,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; }