[wiki] [sites] [dwm][fancybar] Fix patch || Jochen Sprickerhof
commit 0f86034237ef33c8a700f1f5c14e1d82f95751b3
Author: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
Date: Fri May 27 12:00:01 2022 +0200
[dwm][fancybar] Fix patch
diff --git a/dwm.suckless.org/patches/fancybar/dwm-fancybar-20220527-d3f93c7.diff b/dwm.suckless.org/patches/fancybar/dwm-fancybar-20220527-d3f93c7.diff
index d8e14129..e2a4e2a4 100644
--- a/dwm.suckless.org/patches/fancybar/dwm-fancybar-20220527-d3f93c7.diff
+++ b/dwm.suckless.org/patches/fancybar/dwm-fancybar-20220527-d3f93c7.diff
_AT_@ -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)
Received on Fri May 27 2022 - 12:03:23 CEST
This archive was generated by hypermail 2.3.0
: Fri May 27 2022 - 12:12:37 CEST