- brush.w = textw(&brush.font, stext) + bh;
- brush.x = bx + bw - brush.w;
- draw(dpy, &brush, False, stext);
- XCopyArea(dpy, brush.drawable, barwin, brush.gc, 0, 0, bw, bh, 0, 0);
+ dc.w = textw(stext) + dc.font.height;
+ dc.x = bx + bw - dc.w;
+ drawtext(stext, False, False);
+ XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);