ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=83decd51830eb7b918902e2ef0bbae5a1a85400e

commit 83decd51830eb7b918902e2ef0bbae5a1a85400e
Author: Andy Williams <a...@andywilliams.me>
Date:   Wed Feb 11 22:01:37 2015 +0000

    Improving focus control a little
---
 elm_code/lib/elm_code_widget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elm_code/lib/elm_code_widget.c b/elm_code/lib/elm_code_widget.c
index 9b3771e..bc98b03 100644
--- a/elm_code/lib/elm_code_widget.c
+++ b/elm_code/lib/elm_code_widget.c
@@ -518,7 +518,7 @@ _elm_code_widget_elm_widget_on_focus(Eo *obj, 
Elm_Code_Widget_Data *pd)
    pd->focussed = elm_widget_focus_get(obj);
 
    _elm_code_widget_fill(obj);
-   return EINA_TRUE;
+   return pd->focussed;
 }
 
 EOLIAN static Eina_Bool
@@ -532,7 +532,7 @@ EOLIAN static Eina_Bool
 _elm_code_widget_elm_widget_focus_direction_manager_is(Eo *obj EINA_UNUSED,
                                                        Elm_Code_Widget_Data 
*pd EINA_UNUSED)
 {
-   return EINA_FALSE;
+   return EINA_TRUE;
 }
 
 EOLIAN static void

-- 


Reply via email to