diff options
-rw-r--r-- | src/lib/elementary/elm_atspi_app_object.c | 5 | ||||
-rw-r--r-- | src/lib/elementary/elm_main.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_atspi_app_object.c b/src/lib/elementary/elm_atspi_app_object.c index 3f4261df57..622c7d834a 100644 --- a/src/lib/elementary/elm_atspi_app_object.c +++ b/src/lib/elementary/elm_atspi_app_object.c @@ -48,9 +48,8 @@ _elm_atspi_app_object_efl_access_object_access_children_get(const Eo *obj EINA_U EINA_LIST_FOREACH(_elm_win_list, l, win) { - if (!efl_isa(win, EFL_ACCESS_OBJECT_MIXIN)) - continue; - accs = eina_list_append(accs, win); + Efl_Access_Object *access = efl_access_object_query(EFL_ACCESS_OBJECT_MIXIN, win); + if (access) accs = eina_list_append(accs, access); } return accs; diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c index 58b2d850ec..7fe03fe638 100644 --- a/src/lib/elementary/elm_main.c +++ b/src/lib/elementary/elm_main.c @@ -428,7 +428,10 @@ elm_init(int argc, char **argv) ELM_CNP_EVENT_SELECTION_CHANGED = ecore_event_type_new(); if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF) - _elm_atspi_bridge_init(); + { + _elm_access_init(); + _elm_atspi_bridge_init(); + } if (!_elm_config->web_backend) _elm_config->web_backend = eina_stringshare_add("none"); if (!_elm_web_init(_elm_config->web_backend)) @@ -1207,7 +1210,10 @@ elm_quicklaunch_fork(int argc, if (setsid() < 0) perror("could not setsid"); if (chdir(cwd) != 0) perror("could not chdir"); if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF) - _elm_atspi_bridge_init(); + { + _elm_access_init(); + _elm_atspi_bridge_init(); + } if (qre_main) { |