diff options
Diffstat (limited to 'src/lib/elementary/efl_ui_focus_manager_calc.c')
-rw-r--r-- | src/lib/elementary/efl_ui_focus_manager_calc.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index c966c4f448..016cac7bc8 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c | |||
@@ -1377,11 +1377,6 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_ | |||
1377 | 1377 | ||
1378 | if (node->type == NODE_TYPE_NORMAL) | 1378 | if (node->type == NODE_TYPE_NORMAL) |
1379 | { | 1379 | { |
1380 | Eo *node_focusable; | ||
1381 | |||
1382 | //save fields we later need | ||
1383 | node_focusable = node->focusable; | ||
1384 | |||
1385 | //populate the new change | 1380 | //populate the new change |
1386 | efl_ui_focus_object_focus_set(node->focusable, EINA_TRUE); | 1381 | efl_ui_focus_object_focus_set(node->focusable, EINA_TRUE); |
1387 | } | 1382 | } |
@@ -1426,7 +1421,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_ | |||
1426 | } | 1421 | } |
1427 | 1422 | ||
1428 | static void | 1423 | static void |
1429 | _followup_previous_direction(Eo *obj, Efl_Ui_Focus_Manager_Calc_Data *pd) | 1424 | _followup_previous_direction(Eo *obj) |
1430 | { | 1425 | { |
1431 | Efl_Ui_Focus_Manager *rec_manager; | 1426 | Efl_Ui_Focus_Manager *rec_manager; |
1432 | rec_manager = efl_ui_focus_manager_redirect_get(obj); | 1427 | rec_manager = efl_ui_focus_manager_redirect_get(obj); |
@@ -1472,7 +1467,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui | |||
1472 | efl_ui_focus_manager_focus_set(obj, new_candidate); | 1467 | efl_ui_focus_manager_focus_set(obj, new_candidate); |
1473 | 1468 | ||
1474 | if (direction == ELM_FOCUS_PREVIOUS) | 1469 | if (direction == ELM_FOCUS_PREVIOUS) |
1475 | _followup_previous_direction(obj, pd); | 1470 | _followup_previous_direction(obj); |
1476 | 1471 | ||
1477 | candidate = new_candidate; | 1472 | candidate = new_candidate; |
1478 | } | 1473 | } |
@@ -1506,7 +1501,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui | |||
1506 | { | 1501 | { |
1507 | efl_ui_focus_manager_focus_set(obj, candidate); | 1502 | efl_ui_focus_manager_focus_set(obj, candidate); |
1508 | if (direction == ELM_FOCUS_PREVIOUS) | 1503 | if (direction == ELM_FOCUS_PREVIOUS) |
1509 | _followup_previous_direction(obj, pd); | 1504 | _followup_previous_direction(obj); |
1510 | } | 1505 | } |
1511 | } | 1506 | } |
1512 | 1507 | ||