forked from enlightenment/efl
parent
5650f1a234
commit
2264c5cc58
|
@ -155,6 +155,7 @@ evas_object_layer_set(Evas_Object *obj, int l)
|
||||||
obj->cur.layer = l;
|
obj->cur.layer = l;
|
||||||
evas_object_inject(obj, e);
|
evas_object_inject(obj, e);
|
||||||
obj->restack = 1;
|
obj->restack = 1;
|
||||||
|
evas_object_change(obj);
|
||||||
if (obj->clip.clipees)
|
if (obj->clip.clipees)
|
||||||
{
|
{
|
||||||
evas_object_inform_call_restack(obj);
|
evas_object_inform_call_restack(obj);
|
||||||
|
|
|
@ -196,6 +196,7 @@ evas_object_stack_above(Evas_Object *obj, Evas_Object *above)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (above->smart.parent) return;
|
||||||
if (obj->layer != above->layer)
|
if (obj->layer != above->layer)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -272,6 +273,7 @@ evas_object_stack_below(Evas_Object *obj, Evas_Object *below)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (below->smart.parent) return;
|
||||||
if (obj->layer != below->layer)
|
if (obj->layer != below->layer)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue