equal
deleted
inserted
replaced
13 draw(dpy, &brush, False, NULL); |
13 draw(dpy, &brush, False, NULL); |
14 |
14 |
15 if(stack) { |
15 if(stack) { |
16 brush.rect.width = textwidth(&brush.font, stack->name) + labelheight(&brush.font); |
16 brush.rect.width = textwidth(&brush.font, stack->name) + labelheight(&brush.font); |
17 swap((void **)&brush.fg, (void **)&brush.bg); |
17 swap((void **)&brush.fg, (void **)&brush.bg); |
18 draw(dpy, &brush, False, stack->name); |
18 draw(dpy, &brush, True, stack->name); |
19 swap((void **)&brush.fg, (void **)&brush.bg); |
19 swap((void **)&brush.fg, (void **)&brush.bg); |
20 brush.rect.x += brush.rect.width; |
20 brush.rect.x += brush.rect.width; |
21 } |
21 } |
22 |
22 |
23 brush.rect.width = textwidth(&brush.font, statustext) + labelheight(&brush.font); |
23 brush.rect.width = textwidth(&brush.font, statustext) + labelheight(&brush.font); |