only cut border frames if they've been calculated

This commit is contained in:
Mike Blumenkrantz 2013-08-30 10:52:21 +01:00
parent 1709c9dda9
commit 6337da1ef9
1 changed files with 6 additions and 3 deletions

View File

@ -3885,9 +3885,12 @@ _e_comp_shapes_update_comp_win_shape_comp_helper(E_Comp_Win *cw, Eina_Tiler *tb)
{
if (cw->bd)
{
/* add the frame */
eina_tiler_rect_add(tb, &(Eina_Rectangle){cw->bd->x, cw->bd->y, cw->bd->w, cw->bd->h});
SHAPE_INF("ADD: %d,%d@%dx%d", cw->bd->x, cw->bd->y, cw->bd->w, cw->bd->h);
if (cw->bd->client_inset.calc)
{
/* add the frame */
eina_tiler_rect_add(tb, &(Eina_Rectangle){cw->bd->x, cw->bd->y, cw->bd->w, cw->bd->h});
SHAPE_INF("ADD: %d,%d@%dx%d", cw->bd->x, cw->bd->y, cw->bd->w, cw->bd->h);
}
if (!cw->bd->shaded)
{