raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=93e833d8cd832f5d142496c194a521cec41fb5e6

commit 93e833d8cd832f5d142496c194a521cec41fb5e6
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Tue Feb 13 13:46:38 2018 +0900

    efl ui win - fix focus break for terminology (at least)
    
    at least terminology was broken by this. perhaps other efl apps. if an
    efl app has decided to manually play with focus itself, like set focus
    to some obj then leav ie, this line breaks that and interferes with
    the object focused whenever the window gets focus set. if there is a
    focus manager at least this is a new thing and so let the focus
    manager set focus, but dont set old evas focus.
    
    this fixes the break added in 56beb861e83cbc830c82db7473e0a88461e2e213
---
 src/lib/elementary/efl_ui_win.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 1a8cd6ad93..aa64baa423 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1266,8 +1266,6 @@ _elm_win_focus_in(Ecore_Evas *ee)
 
         if (child)
           efl_ui_focus_manager_focus_set(sd->obj, sd->obj);
-        else
-          evas_object_focus_set(sd->obj, EINA_TRUE);
      }
 }
 

-- 


Reply via email to