parent
29474a9d15
commit
5e8d46e884
|
@ -166,6 +166,17 @@ evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
|
||||||
obj->cur.clipper = NULL;
|
obj->cur.clipper = NULL;
|
||||||
}
|
}
|
||||||
/* clip me */
|
/* clip me */
|
||||||
|
if (clip->clip.clipees == NULL && clip->cur.visible)
|
||||||
|
{
|
||||||
|
/* Basically it just went invisible */
|
||||||
|
clip->changed = 1;
|
||||||
|
clip->layer->evas->changed = 1;
|
||||||
|
|
||||||
|
|
||||||
|
evas_damage_rectangle_add(clip->layer->evas,
|
||||||
|
clip->cur.geometry.x, clip->cur.geometry.y,
|
||||||
|
clip->cur.geometry.w, clip->cur.geometry.h);
|
||||||
|
}
|
||||||
obj->cur.clipper = clip;
|
obj->cur.clipper = clip;
|
||||||
clip->clip.clipees = evas_list_append(clip->clip.clipees, obj);
|
clip->clip.clipees = evas_list_append(clip->clip.clipees, obj);
|
||||||
evas_object_change(obj);
|
evas_object_change(obj);
|
||||||
|
|
Loading…
Reference in New Issue