From df2e80606141c251056b9d3093622fc0d64057a8 Mon Sep 17 00:00:00 2001 From: Lukasz Stanislawski Date: Thu, 16 Jul 2015 10:51:59 +0200 Subject: [PATCH] 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; -- 2.7.4