forked from enlightenment/efl
parent
8b2bd0c079
commit
5fd9a46869
|
@ -86,14 +86,13 @@ struct _Anchor
|
||||||
static void
|
static void
|
||||||
_edje_entry_focus_in_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
_edje_entry_focus_in_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||||
{
|
{
|
||||||
Edje_Real_Part *rp = data;
|
Edje_Real_Part *rp;
|
||||||
if (!rp) return;
|
Entry *en;
|
||||||
Entry *en = rp->entry_data;
|
|
||||||
|
|
||||||
if (!en) return;
|
rp = data;
|
||||||
|
if (!rp || !rp->entry_data || !rp->edje || !rp->edje->obj) return;
|
||||||
|
|
||||||
if (!rp->edje || !rp->edje->obj) return;
|
en = rp->entry_data;
|
||||||
|
|
||||||
if (!en->imf_context) return;
|
if (!en->imf_context) return;
|
||||||
|
|
||||||
if (evas_object_focus_get(rp->edje->obj))
|
if (evas_object_focus_get(rp->edje->obj))
|
||||||
|
@ -106,11 +105,13 @@ _edje_entry_focus_in_cb(void *data, Evas_Object *o __UNUSED__, const char *emiss
|
||||||
static void
|
static void
|
||||||
_edje_entry_focus_out_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
_edje_entry_focus_out_cb(void *data, Evas_Object *o __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||||
{
|
{
|
||||||
Edje_Real_Part *rp = data;
|
Edje_Real_Part *rp;
|
||||||
if (!rp) return;
|
Entry *en;
|
||||||
Entry *en = rp->entry_data;
|
|
||||||
if (!en) return;
|
|
||||||
|
|
||||||
|
rp = data;
|
||||||
|
if (!rp || !rp->entry_data) return;
|
||||||
|
|
||||||
|
en = rp->entry_data;
|
||||||
if (!en->imf_context) return;
|
if (!en->imf_context) return;
|
||||||
|
|
||||||
ecore_imf_context_reset(en->imf_context);
|
ecore_imf_context_reset(en->imf_context);
|
||||||
|
|
Loading…
Reference in New Issue