bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1aed1cef5986d1c6b4bd61c454ed6da41c3ea95b

commit 1aed1cef5986d1c6b4bd61c454ed6da41c3ea95b
Author: Marcel Hollerbach <[email protected]>
Date:   Sat Apr 18 10:46:37 2020 +0200

    efl_ui_focus_manager_calc: correctly flag elements used
    
    when setting the relation from two widgets a<->b a is used as well as b.
    This now correctly sets these flags.
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11730
---
 src/lib/elementary/efl_ui_focus_manager_calc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c 
b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 305b5092c5..173a663d79 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -402,6 +402,8 @@ dirty_flush_node(Efl_Ui_Focus_Manager *obj EINA_UNUSED, 
Efl_Ui_Focus_Manager_Cal
      {
         Efl_Ui_Focus_Direction direction = -1;
         Efl_Ui_Focus_Graph_Calc_Direction_Result *res = NULL;
+        Node *partner;
+        Eina_List *n;
 
         if (i == 0)
           {
@@ -424,6 +426,9 @@ dirty_flush_node(Efl_Ui_Focus_Manager *obj EINA_UNUSED, 
Efl_Ui_Focus_Manager_Cal
              res = &result.bottom;
           }
 
+       EINA_LIST_FOREACH(res->relation, n, partner)
+         partner->unused = EINA_FALSE;
+
        border_onedirection_set(node, direction, res->relation);
      }
 

-- 


Reply via email to