draw: markup bg image do not change the size

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-26 16:44:04 +02:00
parent 094d0ebc50
commit 7dbd06c8ca
1 changed files with 0 additions and 6 deletions

View File

@ -1040,12 +1040,6 @@ draw_text_extents(xcb_connection_t *conn, int phys_screen, font_t *font,
geom.width = ext.width;
geom.height = ext.height * 1.5;
if(parser_data->bg_image)
{
geom.width = MAX(geom.width, parser_data->bg_image->width);
geom.height = MAX(geom.height, parser_data->bg_image->height);
}
return geom;
}