jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8407971a1a23bb601c546b1192395701445757d3

commit 8407971a1a23bb601c546b1192395701445757d3
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Mar 28 20:10:21 2016 +0900

    Evas: Disable events on no-render objects
    
    Source events still work for proxies (if the flag is set).
---
 src/lib/evas/include/evas_inline.x | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/include/evas_inline.x 
b/src/lib/evas/include/evas_inline.x
index fcbceca..8f3644c 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -108,7 +108,7 @@ evas_event_freezes_through(Evas_Object *eo_obj EINA_UNUSED, 
Evas_Object_Protecte
 static inline int
 evas_event_passes_through(Evas_Object *eo_obj EINA_UNUSED, 
Evas_Object_Protected_Data *obj)
 {
-   if (obj->pass_events) return 1;
+   if (obj->pass_events || obj->no_render) return 1;
    if (obj->parent_cache.pass_events_valid)
      return obj->parent_cache.pass_events;
    if (!obj->smart.parent) return 0;

-- 


Reply via email to