projects
/
framework
/
uifw
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f5264
)
[entry] fixed cursor_changed signal emission bug when cursor is not really changed
author
Myungjae Lee
<mjae.lee@samsung.com>
Thu, 19 May 2011 12:22:44 +0000
(21:22 +0900)
committer
Myungjae Lee
<mjae.lee@samsung.com>
Thu, 19 May 2011 12:22:44 +0000
(21:22 +0900)
src/lib/edje_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_entry.c
b/src/lib/edje_entry.c
index
88e3a06
..
6f3f629
100644
(file)
--- a/
src/lib/edje_entry.c
+++ b/
src/lib/edje_entry.c
@@
-3502,6
+3502,10
@@
_edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos)
Entry *en = rp->entry_data;
Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
if (!c) return;
+ /* Abort if cursor position didn't really change */
+ if (evas_textblock_cursor_pos_get(c) == pos)
+ return;
+
evas_textblock_cursor_pos_set(c, pos);
_curs_update_from_curs(c, rp->object, rp->entry_data);
_sel_update(c, rp->object, rp->entry_data);