elm_widget_can_focus_set(obj, is_access);
}
-static Eina_Bool
-_elm_access_smart_on_focus_region(const Evas_Object *obj,
- Evas_Coord *x,
- Evas_Coord *y,
- Evas_Coord *w,
- Evas_Coord *h)
-{
- evas_object_geometry_get(obj, x, y, w, h);
- return EINA_TRUE;
-}
-
static void
_elm_access_smart_set_user(Elm_Widget_Smart_Class *sc)
{
sc->focus_next = NULL;
sc->focus_direction = NULL;
sc->on_focus = _elm_access_smart_on_focus;
- sc->on_focus_region = _elm_access_smart_on_focus_region;
sc->activate = _elm_access_smart_activate;
sc->access = _elm_access_smart_access;
/* move mouse position to inside of highlight object. if an object has a
highlight by highlight_cycle();, the mouse still positions at previous
position which would be made by MOUSE_IN event. */
+ if (!_elm_access_read_mode_get()) return;
+
evas = evas_object_evas_get(obj);
if (!evas) return;