diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-08-25 20:17:29 +0200 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-08-25 20:17:29 +0200 |
commit | eb71fa427a8dc424417e860619ee06538b0016bb (patch) | |
tree | 40f508eb9e0c40810e9a3a9e1638558ce550ee6a | |
parent | b2c11f21e4e617906c1a761ae3d581d8b789b7ba (diff) |
Patch: mainmon-20220330
-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); } |