summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-28 20:10:21 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-29 10:43:00 +0900
commit8407971a1a23bb601c546b1192395701445757d3 (patch)
tree3bb2f9d2e333fe4df08ef49f4454c7ab4d959b8d
parent8fb8e6d257f7199acd450f082188c282a48d339b (diff)
downloadefl-8407971a1a23bb601c546b1192395701445757d3.tar.gz
Evas: Disable events on no-render objects
Source events still work for proxies (if the flag is set).
-rw-r--r--src/lib/evas/include/evas_inline.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index fcbceca8a8..8f3644c687 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;