simply add draw_rectangle instead of drawtext

This commit is contained in:
Julien Danjou 2008-01-03 12:43:37 +01:00
parent c4e88f9928
commit 67127f00f7

View file

@ -60,9 +60,8 @@ focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used)
sel->ismax, d->fg);
}
else
draw_text(ctx, widget->location, 0, vscreen.statusbar->width - used,
vscreen.statusbar->height, widget->font->height / 2, widget->font, NULL,
d->fg, d->bg);
draw_rectangle(ctx, widget->location, 0,
vscreen.statusbar->width - used, vscreen.statusbar->height, True, d->bg);
widget->width = vscreen.statusbar->width - used;