unset opaque region during comp object render if none exists

fixes case where opaque region has been unset after previously being set
This commit is contained in:
Mike Blumenkrantz 2016-03-22 11:52:56 -04:00
parent fd2a30c767
commit da00500c11
1 changed files with 5 additions and 5 deletions

View File

@ -875,15 +875,15 @@ _e_comp_object_pixels_get(void *data, Evas_Object *obj EINA_UNUSED)
bxx = pw - (bx + bxx), byy = ph - (by + byy);
evas_object_image_border_set(cw->obj, bx, bxx, by, byy);
}
else if (cw->client_inset.calc && (!cw->frame_object)) //CSD
{
bx = -cw->client_inset.l + 4, by = -cw->client_inset.t + 4;
bxx = -cw->client_inset.r, byy = -cw->client_inset.b;
}
else
{
bx = by = bxx = byy = 0;
evas_object_image_border_set(cw->obj, bx, bxx, by, byy);
if (cw->client_inset.calc && (!cw->frame_object)) //CSD
{
bx = -cw->client_inset.l + 4, by = -cw->client_inset.t + 4;
bxx = -cw->client_inset.r, byy = -cw->client_inset.b;
}
}
{
Edje_Message_Int_Set *msg;