forked from enlightenment/enlightenment
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:
parent
3e15daabd1
commit
4237832b3c
|
@ -910,15 +910,15 @@ _e_comp_object_pixels_get(void *data, Evas_Object *obj EINA_UNUSED)
|
||||||
bxx = pw - (bx + bxx), byy = ph - (by + byy);
|
bxx = pw - (bx + bxx), byy = ph - (by + byy);
|
||||||
evas_object_image_border_set(cw->obj, bx, bxx, 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
|
else
|
||||||
{
|
{
|
||||||
bx = by = bxx = byy = 0;
|
bx = by = bxx = byy = 0;
|
||||||
evas_object_image_border_set(cw->obj, bx, bxx, by, byy);
|
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;
|
Edje_Message_Int_Set *msg;
|
||||||
|
|
Loading…
Reference in New Issue