summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-10-27 09:42:22 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-10-27 12:06:40 +0200
commit3139b0f7f57a871a7c43474f7a375dc00aa17af2 (patch)
treedf9773fe9a03b6e3a9a1c494bc6e0b799492df39 /src/lib
parent710d3e2f728903fa50373708a9707c38c1c61bcc (diff)
efl_ui_focus_manager: do not enter Nodes with redirects
we always want the redirect on the lowest level.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 4131b31c71..1592ea4919 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1168,13 +1168,13 @@ _prev(Node *node)
1168 efl_ui_focus_object_prepare_logical(n->focusable); 1168 efl_ui_focus_object_prepare_logical(n->focusable);
1169 1169
1170 //case 1 there is a item in the parent previous to node, which has children 1170 //case 1 there is a item in the parent previous to node, which has children
1171 if (n && T(n).children) 1171 if (n && T(n).children && !n->redirect_manager)
1172 { 1172 {
1173 do 1173 do
1174 { 1174 {
1175 n = eina_list_last_data_get(T(n).children); 1175 n = eina_list_last_data_get(T(n).children);
1176 } 1176 }
1177 while (T(n).children); 1177 while (T(n).children && !n->redirect_manager);
1178 1178
1179 return n; 1179 return n;
1180 } 1180 }