From: Shinwoo Kim Date: Tue, 31 Oct 2017 10:54:04 +0000 (+0900) Subject: atspi: use correct object for highlight_grabbing X-Git-Tag: accepted/tizen/4.0/unified/20171108.063649^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F158597%2F1;p=platform%2Fupstream%2Felementary.git 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 --- 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; }