forked from enlightenment/efl
parent
9fa6620817
commit
3796312acf
|
@ -244,12 +244,20 @@ _evas_render_check_pending_objects(Evas_Array *pending_objects, Evas *e)
|
||||||
|
|
||||||
obj = _evas_array_get(pending_objects, i);
|
obj = _evas_array_get(pending_objects, i);
|
||||||
|
|
||||||
|
if (!obj->layer) goto clean_stuff;
|
||||||
|
|
||||||
evas_object_clip_recalc(obj);
|
evas_object_clip_recalc(obj);
|
||||||
is_active = evas_object_is_active(obj);
|
is_active = evas_object_is_active(obj);
|
||||||
|
|
||||||
if (!is_active && !obj->is_active && !obj->render_pre && !obj->rect_del)
|
if (!is_active &&
|
||||||
|
!obj->is_active &&
|
||||||
|
!obj->render_pre &&
|
||||||
|
!obj->rect_del)
|
||||||
|
{
|
||||||
ok = 1;
|
ok = 1;
|
||||||
else
|
goto clean_stuff;
|
||||||
|
}
|
||||||
|
|
||||||
if (obj->is_active == is_active)
|
if (obj->is_active == is_active)
|
||||||
{
|
{
|
||||||
if (obj->changed)
|
if (obj->changed)
|
||||||
|
@ -291,6 +299,7 @@ _evas_render_check_pending_objects(Evas_Array *pending_objects, Evas *e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clean_stuff:
|
||||||
if (!ok)
|
if (!ok)
|
||||||
{
|
{
|
||||||
evas_array_clean(&e->active_objects);
|
evas_array_clean(&e->active_objects);
|
||||||
|
@ -311,7 +320,8 @@ Evas_Bool pending_change(void *data, void *gdata)
|
||||||
Evas_Object *obj;
|
Evas_Object *obj;
|
||||||
|
|
||||||
obj = data;
|
obj = data;
|
||||||
if (obj->delete_me) return 0;
|
if (!obj->layer) obj->changed = 0;
|
||||||
|
if (obj->delete_me) obj->changed = 0;
|
||||||
return obj->changed;
|
return obj->changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue