bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6d1df04f245569b9ee615cbd62593c586645eb16

commit 6d1df04f245569b9ee615cbd62593c586645eb16
Author: Marcel Hollerbach <[email protected]>
Date:   Mon Dec 12 20:03:53 2016 +0100

    efl_ui_focus_manager: do not depend on elm widget events
---
 src/lib/elementary/efl_ui_focus_manager.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/lib/elementary/efl_ui_focus_manager.c 
b/src/lib/elementary/efl_ui_focus_manager.c
index c0aadc9..c640450 100644
--- a/src/lib/elementary/efl_ui_focus_manager.c
+++ b/src/lib/elementary/efl_ui_focus_manager.c
@@ -479,17 +479,9 @@ _node_new_geometery_cb(void *data, const Efl_Event *event)
    return;
 }
 
-static void
-_focus_in_cb(void *data, const Efl_Event *event)
-{
-   efl_ui_focus_manager_focus(data, event->object);
-}
-
 EFL_CALLBACKS_ARRAY_DEFINE(focusable_node,
     {EFL_GFX_EVENT_RESIZE, _node_new_geometery_cb},
     {EFL_GFX_EVENT_MOVE, _node_new_geometery_cb},
-    //FIXME this is not correctly NOOOO ELM WIDGETS EVENTS HERE
-    {ELM_WIDGET_EVENT_FOCUSED, _focus_in_cb}
 );
 
 //=============================

-- 


Reply via email to