diff options
| author | Chris Sobczak <chris@sobczak.family> | 2026-07-06 13:28:12 -0700 |
|---|---|---|
| committer | Chris Sobczak <chris@sobczak.family> | 2026-07-06 13:28:12 -0700 |
| commit | 3ccffabbdbd4e9382670d99d640e7f76eac011c8 (patch) | |
| tree | c592acc63e12cdc3f7729227687808914cd4698f /dwl.c | |
| parent | 2a24cd94d8fe9d5a4f6071158d2e1e0f369b5bbd (diff) | |
Clean and draw status on all monitors?
Diffstat (limited to 'dwl.c')
| -rw-r--r-- | dwl.c | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1625,11 +1625,14 @@ drawbar(Monitor *m) return; /* draw status first so it can be overdrawn by tags later */ - if (m == selmon) { /* status is only drawn on selected monitor */ - drwl_setscheme(m->drw, colors[SchemeNorm]); - tw = TEXTW(m, stext) - m->lrpad + 2; /* 2px right padding */ - drwl_text(m->drw, m->b.width - tw, 0, tw, m->b.height, 0, stext, 0); - } +// if (m == selmon) { /* status is only drawn on selected monitor */ + + /* draw status on all monitors */ + drwl_setscheme(m->drw, colors[SchemeNorm]); + tw = TEXTW(m, stext) - m->lrpad + 2; /* 2px right padding */ + drwl_text(m->drw, m->b.width - tw, 0, tw, m->b.height, 0, stext, 0); + +// } wl_list_for_each(c, &clients, link) { if (c->mon != m) |
