We modify code to skip the deleted ec while checking the visible state of windows.
By this patch, if all windows of specified process are destroyed, then e makes the state
of process to STATE_BACKGROUND and sends E_PROCESS_ACT_NO_VISIBLE_WINDOWS action signal.
Change-Id: I12bc0c7d1c9fa1e07909429e01072bd857adf12f
EINA_LIST_FOREACH(pinfo->ec_list, l, ec)
{
+ if (e_object_is_del(E_OBJECT(ec))) continue;
+
if (ec->visible && !ec->iconic)
{
exist_visible = EINA_TRUE;