diff options
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | dwm.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -43,6 +43,7 @@ static char *colors[][3] = { /* tagging */ static const char *tags[] = { " ", " ", " ", " " }; +static const int mainmon = 0; /* default layout per tags */ /* The first element is for all-tag view, following i-th element corresponds to */ @@ -1035,7 +1035,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 == &mons[mainmon]) { /* status is only drawn on selected monitor */ tw = m->ww - drawstatusbar(m, bh, stext); } |