From d1ef59dea7da5782f69afaef8c6f856df06a782c Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Wed, 13 Sep 2017 21:34:44 +0900 Subject: [PATCH] atspi: enhance _accessible_at_point_get The _elm_widget_elm_interface_atspi_component_accessible_at_point_get is seaching accessible object from bottom of tree. If elm_popup, or elm_panel comes as a root object, then the _elm_widget_elm_interface_atspi_component_accessible_at_point_get does not search from bottom of tree. To make seach logic consistent, we are using bottom-up approach first for both elm_popup and elm_panel from this patch. Change-Id: I2a31725e8ff69455b836d6f888e0b42695ad2af5 --- src/lib/elm_widget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 152a2f9..7502188 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -7522,7 +7522,9 @@ _elm_widget_elm_interface_atspi_component_accessible_at_point_get(Eo *obj, Elm_W Eina_List *l; Evas_Object *stack_item; - if(strcmp("Elm_Win", eo_class_name_get(eo_class_get(obj)))) + if(strcmp("Elm_Win", eo_class_name_get(eo_class_get(obj))) && + strcmp("Elm_Popup", eo_class_name_get(eo_class_get(obj))) && + strcmp("Elm_Panel", eo_class_name_get(eo_class_get(obj)))) return _accessible_at_point_top_down_get(obj, _pd, screen_coords, x, y); _coordinate_system_based_point_translate(obj, screen_coords, &x, &y); -- 2.7.4