[access] turn off highlight display when screen reader is disabled
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 10 Apr 2013 08:16:00 +0000 (17:16 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Sun, 14 Apr 2013 09:44:01 +0000 (18:44 +0900)
Change-Id: I5b5c88fadfbfc0d0a903806f395ad8ad6c560835

src/lib/elm_win.c

index fae0882..2410491 100755 (executable)
@@ -1947,11 +1947,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