[access] do not highlight, if the object already has the highlight
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 7 Mar 2013 11:30:33 +0000 (20:30 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 7 Mar 2013 11:30:33 +0000 (20:30 +0900)
legacy/elementary/src/lib/elm_access.c

index 84b68e1..60bdcfc 100644 (file)
@@ -959,8 +959,13 @@ elm_access_say(const char *text)
 EAPI void
 elm_access_highlight_set(Evas_Object* obj)
 {
+   Evas_Object *ho;
+
    if (!obj) return;
 
+   ho = _access_highlight_object_get(obj);
+   if (ho == obj) return;
+
    _access_obj_over_timeout_cb(obj);
 }