projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5c894
)
elm_main: checking the redirect chain is not neccessery
author
Marcel Hollerbach
<marcel@osg.samsung.com>
Thu, 16 Nov 2017 17:05:50 +0000
(18:05 +0100)
committer
Marcel Hollerbach
<marcel@osg.samsung.com>
Fri, 17 Nov 2017 15:08:14 +0000
(16:08 +0100)
the manager is in or has no focused element
src/lib/elementary/elm_main.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_main.c
b/src/lib/elementary/elm_main.c
index
1704508
..
cea2061
100644
(file)
--- a/
src/lib/elementary/elm_main.c
+++ b/
src/lib/elementary/elm_main.c
@@
-1590,15
+1590,6
@@
elm_object_focus_get(const Evas_Object *obj)
//no manager means not registered
if (!m) return EINA_FALSE;
- //first ensure that the manager where we are registered in is in the redirect chain
- while(m != elm_widget_top_get(obj))
- {
- Efl_Ui_Focus_Manager *m_low = efl_ui_focus_user_manager_get(m);
-
- if (efl_ui_focus_manager_redirect_get(m_low) != m) return EINA_FALSE;
-
- m = m_low;
- }
//assertion: our redirect manager m is in the redirect chain
m = efl_ui_focus_user_manager_get(obj);