diff options
author | Joe <rbo@gmx.us> | 2025-02-28 21:32:59 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2025-02-28 21:32:59 +0100 |
commit | 3907db06dd2648cb37b297bde5e97d19f1e99f76 (patch) | |
tree | c08db34a8843b89c0cb1916a0538ce37d2b86004 /dwl.c | |
parent | swallowd (diff) | |
download | dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.gz dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.bz2 dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.xz dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.zst dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.zip |
underlined
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1599,6 +1599,8 @@ drawbar(Monitor *m) w = TEXTW(m, tags[i]); drwl_setscheme(m->drw, colors[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]); drwl_text(m->drw, x, 0, w, m->b.height, m->lrpad / 2, tags[i], urg & 1 << i); + if (ulineall || m->tagset[m->seltags] & 1 << i) /* if there are conflicts, just move these lines directly underneath both 'drw_setscheme' and 'dr w_text' :) */ + drwl_rect(m->drw, x + ulinepad, m->b.height - ulinestroke - ulinevoffset, w - (ulinepad * 2), ulinestroke, 1, 0); if (occ & 1 << i) drwl_rect(m->drw, x + boxs, boxs, boxw, boxw, m == selmon && c && c->tags & 1 << i, |