From: Minchul Lee Date: Thu, 12 Jan 2017 01:41:59 +0000 (+0900) Subject: entry: hide ctxpopup during long press and drag X-Git-Tag: submit/tizen/20170116.034202~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F109820%2F1;p=platform%2Fupstream%2Felementary.git entry: hide ctxpopup during long press and drag Sometimes, ctxpopup was not hidden when drag. When select new word on drag, ctxpopup should be hidden. Change-Id: Ic206d3d086b20cfa37eb3fea5c1fd48e58b86139 Signed-off-by: Minchul Lee --- diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 3ce0d13..a16a23b 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -3304,7 +3304,13 @@ _mouse_move_cb(void *data, int cur_pos = edje_object_part_text_cursor_pos_get (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN); if (cur_pos != sd->cursor_move_pos) - _select_word(data, NULL, NULL); + { + // TIZEN_ONLY (20170112): hide ctxpopup during long press and drag + if ((sd->api) && (sd->api->obj_hidemenu)) + sd->api->obj_hidemenu(data); + // + _select_word(data, NULL, NULL); + } // } //