commit: 934cb80a0edba630e7b918b5ff1a9d680b2c0d19
parent: 79ea37f0f0b678e9f8354e8c607beb957a2e03e6
author: Chris Noxz <chris@noxz.tech>
date: Wed, 8 Feb 2023 19:39:01 +0100
Make sure to draw selected layout
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -964,7 +964,7 @@ drawbar(Monitor *m)
}
/* draw layout icon */
- drawicon(SchemeLayout, m->lt[0]->icon, m->lt[0]->vectlength, x);
+ drawicon(SchemeLayout, m->lt[selmon->sellt]->icon, m->lt[selmon->sellt]->vectlength, x);
x += blw = i_basewidth;
if ((w = m->ww - tw - x) > bh) {