summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-29 18:37:12 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-29 19:01:17 +0900
commit5917b49f594089a3ebc4586d41c29eea35b4b605 (patch)
tree8c9567d97d2fac61cf201b7a032b49c11c0b62de
parent2dfd517c8acbc334ebefab6404fd125de05a76fa (diff)
downloadefl-5917b49f594089a3ebc4586d41c29eea35b4b605.tar.gz
Evas: Another fix for no-render
Despite the previous patches, no-render objects could be partially visible. Eg a fileselector marked as no-render would have its file list visible. All other children were not shown. I think this is not the last fix for this feature, but eventually source_visible will have to die internally and be replaced by no-render. Thanks @yakov-g for the report.
-rw-r--r--src/lib/evas/include/evas_inline.x2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_inline.x b/src/lib/evas/include/evas_inline.x
index 8f3644c687..f6cd540475 100644
--- a/src/lib/evas/include/evas_inline.x
+++ b/src/lib/evas/include/evas_inline.x
@@ -124,6 +124,8 @@ evas_object_is_source_invisible(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Pro
{
if (obj->parent_cache.src_invisible_valid)
return obj->parent_cache.src_invisible;
+ if (obj->no_render)
+ return EINA_TRUE;
if ((obj->proxy->proxies || obj->proxy->proxy_textures) && obj->proxy->src_invisible) return 1;
if (!obj->smart.parent) return 0;
if (obj->mask->is_mask) return 0;