aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_layer.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2002-12-10 06:45:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2002-12-10 06:45:18 +0000
commit72b9af03dedfd491ccd9939388776a93af630cc4 (patch)
tree97b86f24f98be666a2d0ef94a34fd9c3f642d697 /legacy/evas/src/lib/canvas/evas_layer.c
parentupdate... (diff)
downloadefl-72b9af03dedfd491ccd9939388776a93af630cc4.tar.gz
informers & interceptors... meant to "inform" callbacks of when an object
has been show, hidden, moved, resized or restacked :) handy for making widgets (ie child widget got resized.. parent can adjust to fit child widget). also interceptors.. designed to allow callbacks to intercept move, resize, show, hide and restacking calls and modiy behavior (handy for widget sets too!) SVN revision: 6488
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_layer.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_layer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_layer.c b/legacy/evas/src/lib/canvas/evas_layer.c
index 3064b844f2..5fd2703c90 100644
--- a/legacy/evas/src/lib/canvas/evas_layer.c
+++ b/legacy/evas/src/lib/canvas/evas_layer.c
@@ -128,7 +128,11 @@ evas_object_layer_set(Evas_Object *obj, int l)
obj->cur.layer = l;
evas_object_inject(obj, e);
obj->restack = 1;
- if (obj->clip.clipees) return;
+ if (obj->clip.clipees)
+ {
+ evas_object_inform_call_restack(obj);
+ return;
+ }
if (!obj->smart.smart)
{
evas_object_change(obj);
@@ -139,6 +143,7 @@ evas_object_layer_set(Evas_Object *obj, int l)
if (evas_list_find(obj->layer->evas->pointer.object.in, obj))
evas_event_feed_mouse_move(obj->layer->evas, obj->layer->evas->pointer.x, obj->layer->evas->pointer.y);
}
+ evas_object_inform_call_restack(obj);
}
int