From 31d8d0296c0ab123c74330a6417eed0a8166b44f Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Tue, 31 Oct 2017 19:54:04 +0900 Subject: [PATCH] atspi: use correct object for highlight_grabbing elm_object_accessibility_highlight_set is using VIEW object as a "target" object for the ELM_WIDGET_ITEM_CLASS object. And the "target" object is used for all highlight related lines in the elm_win including highlight_grabbing. So when the elm_widget sets highlight_grabbing for the ELM_WIDGET_ITEM_CLASS object, the VIEW object should be used. Change-Id: I6bd1e40e69883e81f968ea82a6a48be9204206d2 --- src/lib/elm_widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 7cae360..46eed7c 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -7161,7 +7161,7 @@ _elm_widget_item_elm_interface_atspi_component_highlight_grab(Eo *obj, Elm_Widge if (!sd) return EINA_FALSE; if (!sd->view) return EINA_FALSE; //TIZEN_ONLY(20171011) : atspi : During the highlight grab, out signal is not sent. - _elm_widget_accessibility_highlight_grabbing_set(obj, EINA_TRUE); + _elm_widget_accessibility_highlight_grabbing_set(sd->view, EINA_TRUE); // //TIZEN_ONLY(20170119): Show the object highlighted by highlight_grab when the object is completely out of the scroll @@ -7178,7 +7178,7 @@ _elm_widget_item_elm_interface_atspi_component_highlight_grab(Eo *obj, Elm_Widge evas_object_smart_callback_call(sd->widget, SIG_WIDGET_ATSPI_HIGHLIGHTED, obj); // //TIZEN_ONLY(20171011) : atspi : During the highlight grab, out signal is not sent. - _elm_widget_accessibility_highlight_grabbing_set(obj, EINA_FALSE); + _elm_widget_accessibility_highlight_grabbing_set(sd->view, EINA_FALSE); // return EINA_TRUE; } -- 2.7.4