forked from enlightenment/efl
elm_main: also return true when the object is a redirect manager
This commit is contained in:
parent
d15ee47db0
commit
c4583e1647
|
@ -1635,6 +1635,9 @@ elm_object_focus_get(const Evas_Object *obj)
|
|||
//assertion: our redirect manager m is in the redirect chain
|
||||
m = efl_ui_focus_user_manager_get(obj);
|
||||
|
||||
//if obj is the redriect manager its kind of focused
|
||||
if (efl_ui_focus_manager_redirect_get(m) == obj) return EINA_TRUE;
|
||||
|
||||
//if there is a redirect manager
|
||||
if (!!efl_ui_focus_manager_redirect_get(m)) return EINA_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue