summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2018-09-07 12:36:10 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2018-11-05 17:31:06 +0200
commit294040c86e50ad9a081b61c230707c749b643a98 (patch)
tree679b02ce89a8ada9ca45470cd36c5dfe848d9375 /src/lib/evas/canvas/evas_object_textblock.c
parent2caa38f1664ea4729d0b0ac7c4f8d1b96d475d9b (diff)
Canvas text: don't emit 'cursor,changed' on legacy cursor_copy
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 788c7c3..c290ac3 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -10319,7 +10319,10 @@ EAPI void
10319evas_textblock_cursor_copy(const Evas_Textblock_Cursor *cur_src, Efl_Text_Cursor_Cursor *cur_dest) 10319evas_textblock_cursor_copy(const Evas_Textblock_Cursor *cur_src, Efl_Text_Cursor_Cursor *cur_dest)
10320{ 10320{
10321 if (!cur_src || !cur_dest) return; 10321 if (!cur_src || !cur_dest) return;
10322 efl_text_cursor_copy(cur_src->obj, cur_dest, cur_src); 10322 if (!efl_text_cursor_equal(cur_src->obj, cur_dest, cur_src))
10323 {
10324 _evas_textblock_cursor_copy(cur_dest, cur_src);
10325 }
10323} 10326}
10324 10327
10325static void 10328static void