If an object is registered to elm_access, then do not demote its order even
though the object repeats event(repeat_events: 1) when _sort_by_repeat_events
function sorts object order.
User could add a rectangle to give accessibility. If the rectangle does not
repeat events, then it would be a problem when screen reader is off.
Change-Id: I3c154c96a290abb30f96564a9cee47ce237c5fe7
repeat1 = evas_object_repeat_events_get(data1);
repeat2 = evas_object_repeat_events_get(data2);
+ Evas_Object *ao = elm_access_object_get(data1);
+ if (ao) return -1;
+
if (repeat1 != repeat2 && repeat1 == EINA_TRUE) return 1;
return -1;
}