aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2013-03-04 20:16:35 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2013-03-04 20:16:35 +0900
commit285ed82000ba1ae05f5d968ce278fbf4e84d50cc (patch)
treed238ffc53e60814781073e4d04e2462a77c1618c /legacy/elementary/src/lib/elm_win.c
parentelm_index: set selected item active in smart theme (diff)
downloadefl-285ed82000ba1ae05f5d968ce278fbf4e84d50cc.tar.gz
elm_win : Focus hightlight should not be shown on (0, 0). Thanks for Wonkuk Jung for reporting and fixing.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c10
1 files changed, 5 insertions, 5 deletions
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);