diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-08-08 09:39:15 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2018-08-08 09:39:15 -0400 |
commit | 08b9eeef281b0a42de83d1467d83e37b68a9567b (patch) | |
tree | b550e7051f2ff0af136e72f8a3bceeb8f5c859cb | |
parent | 1edf1295e8326ad315d24decea297d9f8ce22419 (diff) | |
download | efl-08b9eeef281b0a42de83d1467d83e37b68a9567b.tar.gz |
efl_ui_focus_composition: do not call legacy API here
Summary:
calling this on a object that is legacy is not going to work. And will
print a error. This will make new widgets less verbose.
ref T7213
Depends on D6755
Reviewers: YOhoho, zmike, CHAN
Reviewed By: YOhoho
Subscribers: cedric, #committers, zmike
Tags: #efl
Maniphest Tasks: T7213
Differential Revision: https://phab.enlightenment.org/D6756
-rw-r--r-- | src/lib/elementary/efl_ui_focus_composition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_focus_composition.c b/src/lib/elementary/efl_ui_focus_composition.c index a964146862..a35e71f99a 100644 --- a/src/lib/elementary/efl_ui_focus_composition.c +++ b/src/lib/elementary/efl_ui_focus_composition.c @@ -26,7 +26,7 @@ _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 (elm_widget_is_legacy(obj) && elm_object_focus_custom_chain_get(obj)) return; if (pd->custom_manager) manager = pd->custom_manager; |