void _elm_config_atspi_mode_set(Eina_Bool is_enabled)
{
is_enabled = !!is_enabled;
- if (_elm_config->atspi_mode == is_enabled) return;
+ // TIZEN_ONLY(20160721): enable atspi bridge on background apps
+ Eina_Bool connected = EINA_FALSE;
+ eo_do(_elm_atspi_bridge_get(), connected = elm_obj_atspi_bridge_connected_get());
+ if ((_elm_config->atspi_mode == is_enabled) && (connected == is_enabled)) return;
+ //
_elm_config->atspi_mode = is_enabled;
if (!is_enabled) _elm_atspi_bridge_shutdown();
_elm_recache();
_elm_clouseau_reload();
_elm_config_key_binding_hash();
+ // TIZEN_ONLY(20160721): enable atspi bridge on background apps
+ if (_elm_config) _elm_config_atspi_mode_set(_elm_config->atspi_mode);
+ //
if (_elm_config) _elm_win_access(_elm_config->access_mode);
ecore_event_add(ELM_EVENT_CONFIG_ALL_CHANGED, NULL, NULL, NULL);
}