This reverts commit
5eb41281c87b4f4d8e10cec140a21bc65ffd8cdf.
The commit causes the context menu show when entry does not
have focus: http://suprem.sec.samsung.net/jira/browse/TSAM-12196
Change-Id: Ib22b0cb2b334d368fd24bb27e09b8e513342f090
ELM_ENTRY_DATA_GET(data, sd);
// TIZEN ONLY: START ////////////////////////////////////////////
+ if (!elm_widget_focus_get(data))
+ {
+ goto signal_longpress;
+ }
// 20150229: Add drag feature.
Eina_Bool hit_selection = EINA_FALSE;
if (ext_mod->viewport_rect)
eina_rectangle_free(ext_mod->viewport_rect);
elm_entry_extension_module_data_get(obj, ext_mod);
- if (ext_mod->context_menu)
+ has_focused = elm_widget_focus_get(obj);
+ if (ext_mod->context_menu && has_focused)
{
Eina_List *lao = NULL;
Evas_Object *ao = NULL;