[widget][access] set highlihght only once
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 30 Apr 2013 09:30:04 +0000 (18:30 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Mon, 27 May 2013 05:14:12 +0000 (14:14 +0900)
Change-Id: I1917e1dffce017b01cbe4be15bd076315146e207

src/lib/elm_widget.c

index eda6c71..5828df3 100644 (file)
@@ -941,9 +941,6 @@ _parent_focus(Evas_Object *obj)
         sd->api->on_focus(obj);
      }
    sd->focus_order_on_calc = EINA_FALSE;
-
-   if (_elm_config->access_mode == ELM_ACCESS_MODE_ON)
-     _elm_access_highlight_set(obj);
 }
 
 static void
@@ -2876,6 +2873,10 @@ elm_widget_focus_steal(Evas_Object *obj)
      }
    _parent_focus(obj);
    _elm_widget_focus_region_show(obj);
+
+   if (_elm_config->access_mode)
+     _elm_access_highlight_set(obj);
+
    return;
 }