stanluk pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=df2e80606141c251056b9d3093622fc0d64057a8

commit df2e80606141c251056b9d3093622fc0d64057a8
Author: Lukasz Stanislawski <l.stanisl...@samsung.com>
Date:   Thu Jul 16 10:51:59 2015 +0200

    widget_item: check view visibility in item_onscreen_is function.
---
 src/lib/elm_widget.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index f8da6fa..d683601 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4502,6 +4502,9 @@ _elm_widget_item_onscreen_is(Elm_Object_Item *item)
    Elm_Widget_Item_Data *id = eo_data_scope_get(item, ELM_WIDGET_ITEM_CLASS);
    if (!id || !id->view) return EINA_FALSE;
 
+   if (!evas_object_visible_get(id->view))
+     return EINA_FALSE;
+
    if (!_elm_widget_onscreen_is(id->widget))
      return EINA_FALSE;
 

-- 


Reply via email to