forked from enlightenment/efl
Remove ecore_imf_context_reset in focus-in event handler
It's useless to call ecore_imf_context_reset in focus-in handler
This commit is contained in:
parent
b77b5effbe
commit
2bcfc800c9
|
@ -117,7 +117,6 @@ _edje_entry_focus_in_cb(void *data, Evas_Object *o, const char *emission EINA_UN
|
||||||
|
|
||||||
if (evas_object_focus_get(ed->obj))
|
if (evas_object_focus_get(ed->obj))
|
||||||
{
|
{
|
||||||
ecore_imf_context_reset(en->imf_context);
|
|
||||||
ecore_imf_context_focus_in(en->imf_context);
|
ecore_imf_context_focus_in(en->imf_context);
|
||||||
_edje_entry_imf_cursor_info_set(en);
|
_edje_entry_imf_cursor_info_set(en);
|
||||||
}
|
}
|
||||||
|
@ -164,7 +163,6 @@ _edje_focus_in_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
||||||
|
|
||||||
if (!en->imf_context) return;
|
if (!en->imf_context) return;
|
||||||
|
|
||||||
ecore_imf_context_reset(en->imf_context);
|
|
||||||
ecore_imf_context_focus_in(en->imf_context);
|
ecore_imf_context_focus_in(en->imf_context);
|
||||||
_edje_entry_imf_cursor_info_set(en);
|
_edje_entry_imf_cursor_info_set(en);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue