summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubodh Kumar <s7158.kumar@samsung.com>2015-11-18 11:57:49 +0900
committerThiep Ha <thiepha@gmail.com>2015-11-18 11:57:49 +0900
commitc63d91aa6dab37e29ccfa4a6e61348378f196e4c (patch)
tree35d28c30fc32dbbdb0bb8db85c364b1cd2566c5b
parent3bfe3ca79763e86d2f7bcb2f5581cdb5425013bb (diff)
downloadelementary-c63d91aa6dab37e29ccfa4a6e61348378f196e4c.tar.gz
Elm entry: Keep cursor at inserted position after dnd.
Summary: Keep cursor at inserted position after dnd. For good user experience, after dnd users expect the cursor should be at the last inserted position. @feature Test Plan: NA Reviewers: thiepha, herdsman, cedric, tasn Subscribers: shilpasingh Differential Revision: https://phab.enlightenment.org/D3267
-rw-r--r--src/lib/elm_entry.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 5cf77a521..c1984a865 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -700,8 +700,6 @@ _drag_drop_cb(void *data EINA_UNUSED,
ELM_ENTRY_DATA_GET(obj, sd);
- edje_object_part_text_cursor_copy
- (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN, /*->*/ EDJE_CURSOR_USER);
rv = edje_object_part_text_cursor_coord_set
(sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN, drop->x, drop->y);
@@ -709,9 +707,6 @@ _drag_drop_cb(void *data EINA_UNUSED,
rv = _selection_data_cb(NULL, obj, drop);
- edje_object_part_text_cursor_copy
- (sd->entry_edje, "elm.text", EDJE_CURSOR_USER, /*->*/ EDJE_CURSOR_MAIN);
-
return rv;
}