[tasklist] Remove useless draw_rectangle()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
fda025a591
commit
14c29006f2
|
@ -113,10 +113,6 @@ tasklist_draw(widget_node_t *w, statusbar_t *statusbar, int offset, int used)
|
||||||
area.height = statusbar->height;
|
area.height = statusbar->height;
|
||||||
area.width = box_width;
|
area.width = box_width;
|
||||||
|
|
||||||
if(!statusbar->transparency)
|
|
||||||
draw_rectangle(statusbar->ctx, area, 1.0, true,
|
|
||||||
statusbar->colors.bg);
|
|
||||||
|
|
||||||
if(c->icon_path)
|
if(c->icon_path)
|
||||||
{
|
{
|
||||||
area = draw_get_image_size(c->icon_path);
|
area = draw_get_image_size(c->icon_path);
|
||||||
|
|
Loading…
Reference in New Issue