woohyun pushed a commit to branch master.
commit d2a2085a2f6ed6474c4f821ac342ebf14ee014dc
Author: WooHyun Jung <[email protected]>
Date: Mon Mar 4 20:16:35 2013 +0900
elm_win : Focus hightlight should not be shown on (0, 0). Thanks for Wonkuk
Jung for reporting and fixing.
---
ChangeLog | 4 ++++
NEWS | 1 +
src/lib/elm_win.c | 10 +++++-----
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 648352f..a51b34e 100644
--- a/ChangeLog
+++ b/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/NEWS b/NEWS
index 7efb1ba..6dfccc2 100644
--- a/NEWS
+++ b/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/src/lib/elm_win.c b/src/lib/elm_win.c
index 22d53d0..e6fed8b 100644
--- a/src/lib/elm_win.c
+++ b/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);
--
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb