From 83decd51830eb7b918902e2ef0bbae5a1a85400e Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Wed, 11 Feb 2015 22:01:37 +0000 Subject: [PATCH] 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