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 <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11730
{
Efl_Ui_Focus_Direction direction = -1;
Efl_Ui_Focus_Graph_Calc_Direction_Result *res = NULL;
+ Node *partner;
+ Eina_List *n;
if (i == 0)
{
res = &result.bottom;
}
+ EINA_LIST_FOREACH(res->relation, n, partner)
+ partner->unused = EINA_FALSE;
+
border_onedirection_set(node, direction, res->relation);
}