diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-01-27 03:27:17 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-01-27 03:27:17 -0500 |
commit | 5a59120f71aee33478d2eea3c5fd0df78f6a8799 (patch) | |
tree | a17060f9a0fbd79477d6dae44faac48ab40bf887 | |
parent | fa89535140ab42b21bada8b636a291fd2fccc259 (diff) |
Only utilize mainmon patch on portable devices
-rw-r--r-- | dwm.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -778,7 +778,13 @@ drawbar(Monitor *m) return; /* draw status first so it can be overdrawn by tags later */ - if (m == &mons[mainmon]) { /* status is only drawn on selected monitor */ + /* Desktop machines don't need the extra "privacy" of partial statusbar hiding */ + #ifdef _HOST_BATTLESTATION + if (m == selmon) { /* status is only drawn on selected monitor */ + #else // _HOST_DEFAULT + if (m == &mons[mainmon]) { /* status is only drawn on main monitor */ + #endif // end of host specific code + char *text, *s, ch; drw_setscheme(drw, scheme[SchemeNorm]); |