aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-04-21 18:54:22 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-04-30 19:24:47 +0200
commitd8a0ee902125d6320b25042d4fb07b1626f0106b (patch)
tree97b67f8a5e059047e05074b9e2bdd5482deafe39
parentelm_widget: Introduce elm_focus_legacy (diff)
downloadefl-d8a0ee902125d6320b25042d4fb07b1626f0106b.tar.gz
efl_ui_focus_composition: legacy compatibility
-rw-r--r--src/lib/elementary/efl_ui_focus_composition.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_focus_composition.c b/src/lib/elementary/efl_ui_focus_composition.c
index a5a49c755c..9c0c5c3a07 100644
--- a/src/lib/elementary/efl_ui_focus_composition.c
+++ b/src/lib/elementary/efl_ui_focus_composition.c
@@ -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