stanluk pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=10109852fe7e98c0e72c328e603b957a65ef534b

commit 10109852fe7e98c0e72c328e603b957a65ef534b
Author: Lukasz Stanislawski <l.stanisl...@samsung.com>
Date:   Wed May 13 10:12:27 2015 +0200

    atspi: do not return ELM_ATSPI_STATE_ACTIVE when widget is enabled.
    
    According to atspi specification ATSPI_STATE_ACTIVE is reserved
    only for windows having keyboard focus.
---
 src/lib/elm_widget.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 8f48d6b..d27b27d 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4457,7 +4457,6 @@ 
_elm_widget_item_elm_interface_atspi_accessible_state_set_get(Eo *eo_item EINA_U
      STATE_TYPE_SET(states, ELM_ATSPI_STATE_FOCUSED);
    if (!elm_object_item_disabled_get(eo_item))
      {
-        STATE_TYPE_SET(states, ELM_ATSPI_STATE_ACTIVE);
         STATE_TYPE_SET(states, ELM_ATSPI_STATE_ENABLED);
         STATE_TYPE_SET(states, ELM_ATSPI_STATE_SENSITIVE);
      }
@@ -5640,7 +5639,6 @@ 
_elm_widget_elm_interface_atspi_accessible_state_set_get(Eo *obj, Elm_Widget_Sma
    if (!elm_object_disabled_get(obj))
      {
         STATE_TYPE_SET(states, ELM_ATSPI_STATE_ENABLED);
-        STATE_TYPE_SET(states, ELM_ATSPI_STATE_ACTIVE);
         STATE_TYPE_SET(states, ELM_ATSPI_STATE_SENSITIVE);
      }
 

-- 


Reply via email to