aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-25 16:50:38 +0300
committerawy <awy@tutamail.com>2024-08-25 16:50:38 +0300
commitb5d21e650714074240370d251c1afb70f82d4bd4 (patch)
tree7f9839f818c0cef9a129c96845d5e107e7ec6ed6 /dwl.c
parent5ec18e3b97b8491c813edc493db4d5aab9147838 (diff)
xwayland + status on all monitors
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/dwl.c b/dwl.c
index aabb4a4..4ce4383 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1583,11 +1583,9 @@ 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 */
- drwl_setscheme(m->drw, colors[SchemeNorm]);
- tw = TEXTW(m, stext) - m->lrpad + 2; /* 2px right padding */
- drwl_text(m->drw, m->b.width - tw, 0, tw, m->b.height, 0, stext, 0);
- }
+ drwl_setscheme(m->drw, colors[SchemeNorm]);
+ tw = TEXTW(m, stext) - m->lrpad + 2; /* 2px right padding */
+ drwl_text(m->drw, m->b.width - tw, 0, tw, m->b.height, 0, stext, 0);
wl_list_for_each(c, &clients, link) {
if (c->mon != m)