fixed several other stuff, coming closer to something useful

This commit is contained in:
Anselm R. Garbe
2006-07-11 23:46:39 +02:00
parent 83d23908d3
commit 896f08d7d5
5 changed files with 23 additions and 15 deletions

2
bar.c
View File

@ -15,7 +15,7 @@ draw_bar()
if(stack) {
brush.rect.width = textwidth(&brush.font, stack->name) + labelheight(&brush.font);
swap((void **)&brush.fg, (void **)&brush.bg);
draw(dpy, &brush, False, stack->name);
draw(dpy, &brush, True, stack->name);
swap((void **)&brush.fg, (void **)&brush.bg);
brush.rect.x += brush.rect.width;
}