There was a bug when ec try to map during iconified by client state.
When client set iconify before first evas_object_show, it doesn't setup their comp object.
Next time client turn to uniconic state, client is invisible in screen.
This patch is move the check iconify by client code to intercept_show from mapping logic to fix problem.
Change-Id: I3a92cba6d9d72a48b176dfbdff5814027476cab3
if (cw->ec->internal) //internal clients render when they feel like it
e_comp_object_damage(cw->smart_obj, 0, 0, cw->w, cw->h);
- evas_object_show(cw->smart_obj);
+ if (!cw->ec->exp_iconify.by_client ||
+ e_policy_visibility_client_is_uniconic(cw->ec))
+ evas_object_show(cw->smart_obj);
if (!cw->ec->iconic)
e_client_focus_defer_set(cw->ec);
}
/* map this surface if needed */
ec->visible = EINA_TRUE;
- if (!ec->exp_iconify.by_client)
- evas_object_show(ec->frame);
+ evas_object_show(ec->frame);
ec->comp_data->mapped = EINA_TRUE;
}