summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 2d6c0b2..65eca6f 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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]);