elm_win : Focus hightlight should not be shown on (0, 0). Thanks for Wonkuk Jung for reporting and fixing.

This commit is contained in:
WooHyun Jung 2013-03-04 20:16:35 +09:00
parent ae4a102102
commit 285ed82000
3 changed files with 10 additions and 5 deletions

View File

@ -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).

View File

@ -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:

View File

@ -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);