forked from enlightenment/efl
efl_ui_focus_object: emit changed event after the flag gets set
otherwise new efl_ui_focus_object_focus_get calls could be confused.
This commit is contained in:
parent
738cb8a2bb
commit
2e6a08737d
|
@ -16,8 +16,8 @@ _efl_ui_focus_object_focus_set(Eo *obj, Efl_Ui_Focus_Object_Data *pd, Eina_Bool
|
||||||
{
|
{
|
||||||
if (pd->old_focus == focus) return;
|
if (pd->old_focus == focus) return;
|
||||||
|
|
||||||
efl_event_callback_call(obj, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED , (void*) (uintptr_t) focus);
|
|
||||||
pd->old_focus = focus;
|
pd->old_focus = focus;
|
||||||
|
efl_event_callback_call(obj, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED , (void*) (uintptr_t) focus);
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static Eina_Bool
|
EOLIAN static Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue