efl_ui_focus_composition: legacy compatibility

This commit is contained in:
Marcel Hollerbach 2018-04-21 18:54:22 +02:00
parent fdfcae968b
commit d8a0ee9021
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ _state_apply(Eo *obj, Efl_Ui_Focus_Composition_Data *pd)
{
Efl_Ui_Focus_Manager *manager;
//Legacy code compatibility, only update the custom chain of elements if legacy was NOT messing with it.
if (elm_object_focus_custom_chain_get(obj)) return;
if (pd->custom_manager)
manager = pd->custom_manager;
else