aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index f0d6144..bce09fd 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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);
}