[access] revert on_focus_region(); / do not change mouse cursor for READ message
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 3 May 2013 04:24:35 +0000 (13:24 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Mon, 27 May 2013 05:15:03 +0000 (14:15 +0900)
Change-Id: Ief17953be32f09c582f4e4c3ece3de65b8201467

src/lib/elm_access.c

index b626391..e7e4f3b 100644 (file)
@@ -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;