diff options
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -780,7 +780,7 @@ 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 */ + if (m == selmon || 1) { /* status is only drawn on selected monitor */ tw = TEXTW(stext) - lrpad + w; /* right padding for the tiling symbol */ drw_text(drw, m->ww - tw, 0, tw, bh, 0, stext, 0); drw_text(drw, m->ww - w, 0, w, bh, lrpad / 2, m->ltsymbol, 0); @@ -2205,9 +2205,11 @@ updatesizehints(Client *c) void updatestatus(void) { + Monitor* m; if (!gettextprop(root, XA_WM_NAME, stext, sizeof(stext))) strcpy(stext, "dwm-"VERSION); - drawbar(selmon); + for(m = mons; m; m = m->next) + drawbar(m); } void |