summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-27 03:27:17 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-27 03:27:17 -0500
commit5a59120f71aee33478d2eea3c5fd0df78f6a8799 (patch)
treea17060f9a0fbd79477d6dae44faac48ab40bf887
parentfa89535140ab42b21bada8b636a291fd2fccc259 (diff)
Only utilize mainmon patch on portable devices
-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]);