commit 0f86034237ef33c8a700f1f5c14e1d82f95751b3
parent 46a29875a65a944587c0f0708f6a54de2db835e4
Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Fri, 27 May 2022 12:00:01 +0200
[dwm][fancybar] Fix patch
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.suckless.org/patches/fancybar/dwm-fancybar-20220527-d3f93c7.diff b/dwm.suckless.org/patches/fancybar/dwm-fancybar-20220527-d3f93c7.diff
@@ -57,7 +57,7 @@ diff --git a/dwm.c b/dwm.c
+ continue;
+ tw = MIN(m->sel == c ? w : mw, TEXTW(c->name));
+
-+ drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
++ drw_setscheme(drw, scheme[m == selmon && m->sel == c ? SchemeSel : SchemeNorm]);
+ if (tw > lrpad / 2)
+ drw_text(drw, x, 0, tw, bh, lrpad / 2, c->name, 0);
+ if (c->isfloating)