summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-12-19 19:53:01 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-04-19 13:31:59 +0200
commitdc02f808ed786d624d04bbb7a031a5b7575013ec (patch)
tree17ea7084d64cc296cca3e4719d469e0736435026
parentd83ba13fc5fa7e5d547315336470dc67cea66641 (diff)
downloadefl-dc02f808ed786d624d04bbb7a031a5b7575013ec.tar.gz
efl_ui_focus_manager: return the new candidate
-rw-r--r--src/lib/elementary/efl_ui_focus_manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager.c b/src/lib/elementary/efl_ui_focus_manager.c
index 763f330103..e8981c49e1 100644
--- a/src/lib/elementary/efl_ui_focus_manager.c
+++ b/src/lib/elementary/efl_ui_focus_manager.c
@@ -1150,6 +1150,7 @@ _efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Data *pd, E
n = T(n).parent;
new_candidate = _request_move(obj, pd, direction, n);
efl_ui_focus_manager_focus(obj, new_candidate);
+ candidate = new_candidate;
}
else
{
@@ -1162,6 +1163,7 @@ _efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Data *pd, E
//redirect does not have smth. but we do have.
efl_ui_focus_manager_focus(obj, new_candidate);
}
+ candidate = new_candidate;
}
}