efl_ui_focus_manager_sub: do not update if parent is NULL

is is actually a dangerous case, and should NEVER happen
This commit is contained in:
Marcel Hollerbach 2016-12-21 11:42:41 +01:00
parent d481dd58ec
commit a3c44fcf68
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ _logical_manager_change(void *data EINA_UNUSED, const Efl_Event *ev)
Efl_Ui_Focus_Manager *manager;
manager = efl_ui_focus_user_manager_get(ev->object);
if (!ev->info) return;
EINA_LIST_FOREACH(pd->current_border, n, b)
{
if (b == ev->object) continue;