summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib/canvas/evas_stack.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-10-22 04:57:32 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-10-22 04:57:32 +0000
commit916f9ce50c5dd98063811a0c6bdd4c478415ce2e (patch)
treef07a1d62acc838afff01cf291906e30c69af86b9 /legacy/evas/src/lib/canvas/evas_stack.c
parentbdc4de91cd88ab4c41e273d413bdaa91f9d88b49 (diff)
evas/proxy - skip the events on invisible source obj.
SVN revision: 78313
Diffstat (limited to '')
-rw-r--r--legacy/evas/src/lib/canvas/evas_stack.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_stack.c b/legacy/evas/src/lib/canvas/evas_stack.c
index 47f8cc18ef..eaae5030e4 100644
--- a/legacy/evas/src/lib/canvas/evas_stack.c
+++ b/legacy/evas/src/lib/canvas/evas_stack.c
@@ -74,7 +74,9 @@ _raise(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
74 evas_object_change(eo_obj, obj); 74 evas_object_change(eo_obj, obj);
75 evas_object_inform_call_restack(eo_obj); 75 evas_object_inform_call_restack(eo_obj);
76 if (obj->layer->evas->is_frozen) return; 76 if (obj->layer->evas->is_frozen) return;
77 if ((!evas_event_passes_through(eo_obj, obj)) && (!evas_event_freezes_through(eo_obj, obj))) 77 if ((!evas_event_passes_through(eo_obj, obj)) &&
78 (!evas_event_freezes_through(eo_obj, obj)) &&
79 (!evas_object_is_source_invisible(eo_obj, obj)))
78 { 80 {
79 if (!obj->is_smart) 81 if (!obj->is_smart)
80 { 82 {
@@ -129,7 +131,9 @@ _lower(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
129 evas_object_change(eo_obj, obj); 131 evas_object_change(eo_obj, obj);
130 evas_object_inform_call_restack(eo_obj); 132 evas_object_inform_call_restack(eo_obj);
131 if (obj->layer->evas->is_frozen) return; 133 if (obj->layer->evas->is_frozen) return;
132 if ((!evas_event_passes_through(eo_obj, obj)) && (!evas_event_freezes_through(eo_obj, obj))) 134 if ((!evas_event_passes_through(eo_obj, obj)) &&
135 (!evas_event_freezes_through(eo_obj, obj)) &&
136 (!evas_object_is_source_invisible(eo_obj, obj)))
133 { 137 {
134 if (!obj->is_smart) 138 if (!obj->is_smart)
135 { 139 {
@@ -214,7 +218,9 @@ _stack_above(Eo *eo_obj, void *_pd, va_list *list)
214 evas_object_change(eo_obj, obj); 218 evas_object_change(eo_obj, obj);
215 evas_object_inform_call_restack(eo_obj); 219 evas_object_inform_call_restack(eo_obj);
216 if (obj->layer->evas->is_frozen) return; 220 if (obj->layer->evas->is_frozen) return;
217 if ((!evas_event_passes_through(eo_obj, obj)) && (!evas_event_freezes_through(eo_obj, obj))) 221 if ((!evas_event_passes_through(eo_obj, obj)) &&
222 (!evas_event_freezes_through(eo_obj, obj)) &&
223 (!evas_object_is_source_invisible(eo_obj, obj)))
218 { 224 {
219 if (!obj->is_smart) 225 if (!obj->is_smart)
220 { 226 {
@@ -299,7 +305,9 @@ _stack_below(Eo *eo_obj, void *_pd, va_list *list)
299 evas_object_change(eo_obj, obj); 305 evas_object_change(eo_obj, obj);
300 evas_object_inform_call_restack(eo_obj); 306 evas_object_inform_call_restack(eo_obj);
301 if (obj->layer->evas->is_frozen) return; 307 if (obj->layer->evas->is_frozen) return;
302 if ((!evas_event_passes_through(eo_obj, obj)) && (!evas_event_freezes_through(eo_obj, obj))) 308 if ((!evas_event_passes_through(eo_obj, obj)) &&
309 (!evas_event_freezes_through(eo_obj, obj)) &&
310 (!evas_object_is_source_invisible(eo_obj, obj)))
303 { 311 {
304 if (!obj->is_smart) 312 if (!obj->is_smart)
305 { 313 {