mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
simply add draw_rectangle instead of drawtext
This commit is contained in:
parent
c4e88f9928
commit
67127f00f7
1 changed files with 2 additions and 3 deletions
|
@ -60,9 +60,8 @@ focustitle_draw(Widget *widget, DrawCtx *ctx, int offset, int used)
|
||||||
sel->ismax, d->fg);
|
sel->ismax, d->fg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
draw_text(ctx, widget->location, 0, vscreen.statusbar->width - used,
|
draw_rectangle(ctx, widget->location, 0,
|
||||||
vscreen.statusbar->height, widget->font->height / 2, widget->font, NULL,
|
vscreen.statusbar->width - used, vscreen.statusbar->height, True, d->bg);
|
||||||
d->fg, d->bg);
|
|
||||||
|
|
||||||
widget->width = vscreen.statusbar->width - used;
|
widget->width = vscreen.statusbar->width - used;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue