wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit feecf2bed7c7e9b802dc7b654d026927c177d8a7
parent 1e426a0e51b33596b25333fb16768a8a289c710e
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Fri, 10 Mar 2006 23:34:13 +0100

thx gualteri for the hint


Diffstat:
cmd/wm/bar.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/cmd/wm/bar.c b/cmd/wm/bar.c @@ -100,12 +100,8 @@ draw_bar() if(i == iexp) continue; l->rect.width = brect.height; - if(strlen(l->data)) { - if(!strncmp(l->data, "%m:", 3)) - l->rect.width = brect.height / 2; - else - l->rect.width += XTextWidth(xfont, l->data, strlen(l->data)); - } + if(strlen(l->data)) + l->rect.width += XTextWidth(xfont, l->data, strlen(l->data)); w += l->rect.width; }