diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index 648352f03e..a51b34ed08 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -1084,3 +1084,7 @@ 2013-03-04 Jaeun Choi * Fix elm_index to send a signal to the selected item in smart theme. + +2013-03-04 WooHyun Jung + + * Focus highlight should not be showed on (0, 0). diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index 7efb1ba1dd..6dfccc25c1 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -165,6 +165,7 @@ Fixes: * Fix 1byte invalid read & do memset, rewind if needed. * Fix the standard of scrollbar-calculation from the scroller's x to pan's x. * Fix elm_index to send a signal to the selected item in smart theme. + * Focus highlight should not be shown on (0 ,0). Removals: diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 22d53d0a1d..e6fed8b6d2 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -660,18 +660,18 @@ _elm_win_focus_highlight_anim_setup(Elm_Win_Smart_Data *sd, evas_object_geometry_get(sd->obj, NULL, NULL, &w, &h); evas_object_geometry_get(target, &tx, &ty, &tw, &th); evas_object_geometry_get(previous, &px, &py, &pw, &ph); - evas_object_move(obj, 0, 0); + evas_object_move(obj, tx, ty); evas_object_resize(obj, tw, th); evas_object_clip_unset(obj); m = alloca(sizeof(*m) + (sizeof(int) * 8)); m->count = 8; - m->val[0] = px; - m->val[1] = py; + m->val[0] = px - tx; + m->val[1] = py - ty; m->val[2] = pw; m->val[3] = ph; - m->val[4] = tx; - m->val[5] = ty; + m->val[4] = 0; + m->val[5] = 0; m->val[6] = tw; m->val[7] = th; edje_object_message_send(obj, EDJE_MESSAGE_INT_SET, 1, m);