summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2016-12-05 09:54:20 +0100
committerAnselm R Garbe <garbeam@gmail.com>2016-12-05 09:54:20 +0100
commita137a86a234476bc3c7128fecbf845e6fc1de995 (patch)
tree4d1653205da8e3889ca849d5d56b8355de7cd1db /dwm.c
parent839c7f6939368fe5784058975ee95062cc88d4c3 (diff)
applied Markus' clarify status text padding patch
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 421bf27a..dbff59b1 100644
--- a/dwm.c
+++ b/dwm.c
@@ -717,8 +717,8 @@ drawbar(Monitor *m)
/* draw status first so it can be overdrawn by tags later */
if (m == selmon) { /* status is only drawn on selected monitor */
drw_setscheme(drw, scheme[SchemeNorm]);
- sw = TEXTW(stext) - lrpad / 2; /* no right padding so status text hugs the corner */
- drw_text(drw, m->ww - sw, 0, sw, bh, lrpad / 2 - 2, stext, 0);
+ sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */
+ drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0);
}
for (c = m->clients; c; c = c->next) {