handle shaped overrides more accurately for theme and rendering

overrides don't get to do shape exports for rendering, so this needs to be done during the initial shape check
This commit is contained in:
Mike Blumenkrantz 2014-01-22 21:44:25 -05:00
parent c24d3c60aa
commit 5549c1b530
1 changed files with 9 additions and 1 deletions

View File

@ -3594,12 +3594,20 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
EC_CHANGED(ec);
}
}
else
{
if (_e_comp_x_client_shape_rects_check(ec, rects, num))
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
}
ec->shaped = 1;
ec->changes.shape_input = 0;
E_FREE(ec->shape_input_rects);
ec->shape_input_rects_num = 0;
}
free(rects);
if (ec->comp_data->reparented || (!ec->shaped))
free(rects);
if (ec->shape_changed)
e_comp_object_frame_theme_set(ec->frame, E_COMP_OBJECT_FRAME_RESHADOW);
}
else
{