diff options
author | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2016-12-12 19:10:19 +0100 |
---|---|---|
committer | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2017-04-19 13:31:58 +0200 |
commit | ec5b70db6be7c8521f898d1a0145257990a9aa9c (patch) | |
tree | bbcafed9869ed877fb0c3fce202f39c2618991ff | |
parent | 31b595f96404648aa4fecb68fc28d41fc26813cf (diff) | |
download | efl-ec5b70db6be7c8521f898d1a0145257990a9aa9c.tar.gz |
efl_ui_focus_manager: more debug information
-rw-r--r-- | src/lib/elementary/efl_ui_focus_manager.c | 13 | ||||
-rw-r--r-- | src/lib/elementary/efl_ui_focus_manager.eo | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager.c b/src/lib/elementary/efl_ui_focus_manager.c index c640450549..a3c390e5f8 100644 --- a/src/lib/elementary/efl_ui_focus_manager.c +++ b/src/lib/elementary/efl_ui_focus_manager.c @@ -1216,6 +1216,19 @@ _efl_ui_focus_manager_fetch(Eo *obj, Efl_Ui_Focus_Manager_Data *pd, Efl_Ui_Focus res->down = DIR_CLONE(EFL_UI_FOCUS_DIRECTION_DOWN); res->next = _next(n)->focusable; res->prev = _prev(n)->focusable; + switch(n->type) + { + case NODE_TYPE_LISTENER: + res->type = "listener"; + break; + case NODE_TYPE_ONLY_LOGICAL: + res->type = "logical"; + break; + case NODE_TYPE_NORMAL: + res->type = "normal"; + break; + } + res->parent = T(n).parent->focusable; res->redirect = n->type == NODE_TYPE_LISTENER ? n->data.listener.manager : NULL; #undef DIR_CLONE diff --git a/src/lib/elementary/efl_ui_focus_manager.eo b/src/lib/elementary/efl_ui_focus_manager.eo index e69c179de8..c1102848ac 100644 --- a/src/lib/elementary/efl_ui_focus_manager.eo +++ b/src/lib/elementary/efl_ui_focus_manager.eo @@ -16,6 +16,8 @@ struct Efl.Ui.Focus.Relations{ down : list<Efl.Ui.Focus.Object>; next : Efl.Ui.Focus.Object; prev : Efl.Ui.Focus.Object; + type : string; + parent : Efl.Ui.Focus.Object; redirect : Efl.Ui.Focus.Manager; } |