reject attempts to focus deleted comp objects

This commit is contained in:
Mike Blumenkrantz 2016-03-10 15:18:19 -05:00
parent f91ed81cd1
commit b742baff5b
1 changed files with 4 additions and 1 deletions

View File

@ -1680,7 +1680,10 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus)
}
if (focus && ec->lock_focus_out) return;
if (e_object_is_del(E_OBJECT(ec)) && focus)
CRI("CAN'T FOCUS DELETED CLIENT!");
{
CRI("CAN'T FOCUS DELETED CLIENT!");
return;
}
/* filter focus setting based on current state */
if (focus)