From 67127f00f7367e9348adab4f485671f57c5f42a7 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 3 Jan 2008 12:43:37 +0100 Subject: [PATCH] simply add draw_rectangle instead of drawtext --- widgets/focustitle.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/widgets/focustitle.c b/widgets/focustitle.c index db362c7eb..0fd699994 100644 --- a/widgets/focustitle.c +++ b/widgets/focustitle.c @@ -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;