thiep pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=c63d91aa6dab37e29ccfa4a6e61348378f196e4c

commit c63d91aa6dab37e29ccfa4a6e61348378f196e4c
Author: Subodh Kumar <s7158.ku...@samsung.com>
Date:   Wed Nov 18 11:57:49 2015 +0900

    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
---
 src/lib/elm_entry.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 5cf77a5..c1984a8 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;
 }
 

-- 


Reply via email to