diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2016-12-05 09:54:20 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2016-12-05 09:54:20 +0100 |
| commit | a137a86a234476bc3c7128fecbf845e6fc1de995 (patch) | |
| tree | 4d1653205da8e3889ca849d5d56b8355de7cd1db | |
| parent | LICENSE: update people (diff) | |
| download | dwm-a137a86a234476bc3c7128fecbf845e6fc1de995.tar.gz dwm-a137a86a234476bc3c7128fecbf845e6fc1de995.zip | |
applied Markus' clarify status text padding patch
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -717,8 +717,8 @@ drawbar(Monitor *m) | |||
| 717 | /* draw status first so it can be overdrawn by tags later */ | 717 | /* draw status first so it can be overdrawn by tags later */ |
| 718 | if (m == selmon) { /* status is only drawn on selected monitor */ | 718 | if (m == selmon) { /* status is only drawn on selected monitor */ |
| 719 | drw_setscheme(drw, scheme[SchemeNorm]); | 719 | drw_setscheme(drw, scheme[SchemeNorm]); |
| 720 | sw = TEXTW(stext) - lrpad / 2; /* no right padding so status text hugs the corner */ | 720 | sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */ |
| 721 | drw_text(drw, m->ww - sw, 0, sw, bh, lrpad / 2 - 2, stext, 0); | 721 | drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0); |
| 722 | } | 722 | } |
| 723 | 723 | ||
| 724 | for (c = m->clients; c; c = c->next) { | 724 | for (c = m->clients; c; c = c->next) { |
