From b5d21e650714074240370d251c1afb70f82d4bd4 Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 25 Aug 2024 16:50:38 +0300 Subject: xwayland + status on all monitors --- dwl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'dwl.c') 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) -- cgit v1.2.3