|
|
|
@ -702,7 +702,7 @@ drawbar(Monitor *m)
|
|
|
|
|
Client *c;
|
|
|
|
|
|
|
|
|
|
/* 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 */
|
|
|
|
|
drw_setscheme(drw, scheme[SchemeNorm]);
|
|
|
|
|
sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */
|
|
|
|
|
drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0);
|
|
|
|
@ -1987,9 +1987,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
|
|
|
|
|