raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=2f288f6839145e975b8780cc51c7a0ca8249f1aa
commit 2f288f6839145e975b8780cc51c7a0ca8249f1aa Author: nirajkr <niraj...@samsung.com> Date: Thu Apr 3 19:10:53 2014 +0900 focus: Avoid un-necessary focus animation call Summary: Avoid un-necessary focus animation call if the source and target have same co-ordinate Reviewers: seoz, woohyun, raster CC: seoz, singh.amitesh Differential Revision: https://phab.enlightenment.org/D679 --- src/lib/elm_win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index e26dd2b..c3a1651 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -715,6 +715,8 @@ _elm_win_focus_highlight_anim_setup(Elm_Win_Data *sd, evas_object_move(obj, tx, ty); evas_object_resize(obj, tw, th); + if ((px == tx) && (py == ty) && (pw == tw) && (ph == th)) return; + if (!_elm_config->focus_highlight_clip_disable) evas_object_clip_unset(obj); --