[access] turn off highlight display when accessibility is disabled

This commit is contained in:
Shinwoo Kim 2013-04-10 17:28:08 +09:00
parent 7e3b63223b
commit 62415070e7
1 changed files with 9 additions and 1 deletions

View File

@ -1909,11 +1909,19 @@ _elm_win_rescale(Elm_Theme *th,
void
_elm_win_access(Eina_Bool is_access)
{
Evas *evas;
const Eina_List *l;
Evas_Object *obj;
EINA_LIST_FOREACH(_elm_win_list, l, obj)
elm_widget_access(obj, is_access);
{
elm_widget_access(obj, is_access);
if (!is_access)
{
evas = evas_object_evas_get(obj);
if (evas) _elm_access_object_hilight_disable(evas);
}
}
}
void