summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-05-13 10:12:27 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-05-13 15:39:24 +0200
commit10109852fe7e98c0e72c328e603b957a65ef534b (patch)
treea1b98350f2134e29f05e9e52be1ef2473b3dc326
parent16fc2b347835b165ab033e3a502e0a08d33f41ba (diff)
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.
-rw-r--r--src/lib/elm_widget.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 8f48d6b18..d27b27df8 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
4457 STATE_TYPE_SET(states, ELM_ATSPI_STATE_FOCUSED); 4457 STATE_TYPE_SET(states, ELM_ATSPI_STATE_FOCUSED);
4458 if (!elm_object_item_disabled_get(eo_item)) 4458 if (!elm_object_item_disabled_get(eo_item))
4459 { 4459 {
4460 STATE_TYPE_SET(states, ELM_ATSPI_STATE_ACTIVE);
4461 STATE_TYPE_SET(states, ELM_ATSPI_STATE_ENABLED); 4460 STATE_TYPE_SET(states, ELM_ATSPI_STATE_ENABLED);
4462 STATE_TYPE_SET(states, ELM_ATSPI_STATE_SENSITIVE); 4461 STATE_TYPE_SET(states, ELM_ATSPI_STATE_SENSITIVE);
4463 } 4462 }
@@ -5640,7 +5639,6 @@ _elm_widget_elm_interface_atspi_accessible_state_set_get(Eo *obj, Elm_Widget_Sma
5640 if (!elm_object_disabled_get(obj)) 5639 if (!elm_object_disabled_get(obj))
5641 { 5640 {
5642 STATE_TYPE_SET(states, ELM_ATSPI_STATE_ENABLED); 5641 STATE_TYPE_SET(states, ELM_ATSPI_STATE_ENABLED);
5643 STATE_TYPE_SET(states, ELM_ATSPI_STATE_ACTIVE);
5644 STATE_TYPE_SET(states, ELM_ATSPI_STATE_SENSITIVE); 5642 STATE_TYPE_SET(states, ELM_ATSPI_STATE_SENSITIVE);
5645 } 5643 }
5646 5644