aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-09-21 18:47:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-11-02 02:22:13 +0100
commit17b57ba5ac6fe6db08ccc60d6d8902dca1189749 (patch)
tree8c6ca19c47c0e56d6742873fbdc57572280e26e3 /src/examples
parentElm_Code: check pointer nullity before using it (diff)
downloadefl-17b57ba5ac6fe6db08ccc60d6d8902dca1189749.tar.gz
efl_ui_focus_manager: rename a event
In eo there is a difference between legacy events and normal events. However, when a legacy event, that is called "focused" is emitted, the event EFL_UI_FOCUS_MANAGER_FOCUSED is emitted on those objects. This leads to bugs and unexpected results in elm_scroller, and additionally this problem blocks work that is done right now to add those "focused" event calls to gengrid. Differential Revision: https://phab.enlightenment.org/D7099
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/elementary/efl_ui_view_list_example_3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/elementary/efl_ui_view_list_example_3.c b/src/examples/elementary/efl_ui_view_list_example_3.c
index 9e7507fc9b..10524580f3 100644
--- a/src/examples/elementary/efl_ui_view_list_example_3.c
+++ b/src/examples/elementary/efl_ui_view_list_example_3.c
@@ -313,7 +313,7 @@ elm_main(int argc, char **argv)
elm_box_pack_end(vbx, bt);
elm_box_pack_end(bx, priv->list2);
- efl_event_callback_add(priv->list2, EFL_UI_FOCUS_MANAGER_EVENT_FOCUSED, _focused ,priv);
+ efl_event_callback_add(priv->list2, EFL_UI_FOCUS_MANAGER_EVENT_FOCUS_CHANGED, _focused ,priv);
evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _cleanup_cb, priv);