From 093c6b99032156e726b88c7ab09b4a54adec4ce1 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Fri, 20 Oct 2017 14:28:18 +0900 Subject: [PATCH] atspi : Do not send signal, if current object and highlight object are same Change-Id: I25a207cbba4562ae364412d1753d9034c96243c3 --- src/lib/elm_widget.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 7cae360..0f77646 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -6592,6 +6592,10 @@ _elm_widget_elm_interface_atspi_component_highlight_grab(Eo *obj, Elm_Widget_Sma if(!obj) return EINA_FALSE; if(!_elm_atspi_enabled()) return EINA_FALSE; + // TIZEN_ONLY(20171020) : atspi : Do not send signal, if current object and highlight object are same + if (_elm_object_accessibility_currently_highlighted_get() == obj) + 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); @@ -7160,6 +7164,11 @@ _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(20171020) : atspi : Do not send signal, if current object and highlight object are same + if (_elm_object_accessibility_currently_highlighted_get() == obj) + 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); // -- 2.7.4