From d34c0322fe40f79492c13facc584a2408a82af8c Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Fri, 3 May 2013 13:24:35 +0900 Subject: [PATCH] [access] revert on_focus_region(); / do not change mouse cursor for READ message Change-Id: Ief17953be32f09c582f4e4c3ece3de65b8201467 --- src/lib/elm_access.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c index b626391..e7e4f3b 100644 --- a/src/lib/elm_access.c +++ b/src/lib/elm_access.c @@ -143,17 +143,6 @@ _elm_access_smart_access(Evas_Object *obj, Eina_Bool is_access) 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) { @@ -163,7 +152,6 @@ _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; @@ -722,6 +710,8 @@ _elm_access_highlight_set(Evas_Object* obj) /* 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; -- 2.7.4