From: Marcel Hollerbach Date: Wed, 21 Dec 2016 10:42:41 +0000 (+0100) Subject: efl_ui_focus_manager_sub: do not update if parent is NULL X-Git-Tag: upstream/1.20.0~1376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3c44fcf6805f08716668f680c97320d3bc004ac;p=platform%2Fupstream%2Fefl.git efl_ui_focus_manager_sub: do not update if parent is NULL is is actually a dangerous case, and should NEVER happen --- diff --git a/src/lib/elementary/efl_ui_focus_manager_sub.c b/src/lib/elementary/efl_ui_focus_manager_sub.c index a5c2c57..5bd77f7 100644 --- a/src/lib/elementary/efl_ui_focus_manager_sub.c +++ b/src/lib/elementary/efl_ui_focus_manager_sub.c @@ -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;