summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-18 10:46:37 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-19 15:41:22 +0200
commit121067b1dbb0d46a7484fbbf67f5abd3a8c02985 (patch)
tree784902c46b1d341690498cf37036dbf29a77df4e
parent21fbe2c0c1441b21f0236b177a8a47410814247a (diff)
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.
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c5
1 files changed, 5 insertions, 0 deletions
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
402 { 402 {
403 Efl_Ui_Focus_Direction direction = -1; 403 Efl_Ui_Focus_Direction direction = -1;
404 Efl_Ui_Focus_Graph_Calc_Direction_Result *res = NULL; 404 Efl_Ui_Focus_Graph_Calc_Direction_Result *res = NULL;
405 Node *partner;
406 Eina_List *n;
405 407
406 if (i == 0) 408 if (i == 0)
407 { 409 {
@@ -424,6 +426,9 @@ dirty_flush_node(Efl_Ui_Focus_Manager *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Cal
424 res = &result.bottom; 426 res = &result.bottom;
425 } 427 }
426 428
429 EINA_LIST_FOREACH(res->relation, n, partner)
430 partner->unused = EINA_FALSE;
431
427 border_onedirection_set(node, direction, res->relation); 432 border_onedirection_set(node, direction, res->relation);
428 } 433 }
429 434