{
ELOGF("COMP", "show_helper. evas_object_show!!!", ec);
evas_object_show(cw->smart_obj);
+
+ /* if comp object is shown in idle enterer before(E_CLIENT_HOOK_EVAL_FETCH),
+ it is rendered in idle callback without native surface and
+ compositor shows an empty frame if other objects aren't shown
+ because job callback of e_comp called at the next loop.
+ it causes a visual defect when windows are switched.
+ */
+ if (cw->redirected)
+ {
+ e_comp_object_damage(cw->smart_obj, 0, 0, cw->w, cw->h);
+ e_comp_object_dirty(cw->smart_obj);
+ e_comp_object_render(cw->smart_obj);
+ }
+
if (!ec->iconic ||
e_policy_visibility_client_is_uniconic(ec))
{