[access] patial revert to give a highlight, if an object has a focus
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 19 Jun 2013 08:04:59 +0000 (17:04 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 20 Jun 2013 12:34:05 +0000 (21:34 +0900)
src/lib/elm_widget.c

index dbc2dd7..1893a38 100644 (file)
@@ -450,7 +450,6 @@ _if_focused_revert(Evas_Object *obj,
           {
              elm_object_focus_set(newest, EINA_FALSE);
              elm_object_focus_set(newest, EINA_TRUE);
-             _elm_access_highlight_set(newest);
           }
      }
 }
@@ -1822,11 +1821,9 @@ elm_widget_focus_cycle(Evas_Object *obj,
                 target will steal focus, or focus its own job. */
              if (!_elm_access_auto_highlight_get())
                elm_widget_focus_steal(target);
-             else
-               {
-                  _elm_access_highlight_set(target);
-                  _elm_widget_focus_region_show(target);
-               }
+
+             _elm_access_highlight_set(target);
+             _elm_widget_focus_region_show(target);
           }
         else elm_widget_focus_steal(target);
      }