commit 0003ac9d294df889fd8648aadc650dc2bdce7249
parent 4f3ac36037facc94e14f88417775a0b4de2f2790
Author: hhvn <hayden@haydenvh.com>
Date: Sun, 22 Nov 2020 17:44:07 +0000
dwm.c: only draw title as SchemeSel if on selected monitor
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -827,7 +827,7 @@ drawbar(Monitor *m)
for (c = m->clients; c; c = c->next) {
if (!ISVISIBLE(c))
continue;
- if (m->sel == c)
+ if (m->sel == c && m == selmon)
scm = SchemeSel;
else
scm = SchemeNormWin;