If the client's uniconify job is canceled by the enlightenment, the client's internal
state remains "Uniconic state" till the enlightenment send an iconic state change event.
In this situation, black screen can appear if the client is visible again.
This is because the client know its state is "uniconic" and doesn't render anymore.
To fix this, we add code that enlightenment sends an iconic state change event to client
to change its internal iconic state when the uniconify_by_vis job is canceled.
Change-Id: If2e71769cd622cfdb11aba0c655ea46a35bcb497
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
{
ELOGF("POL_VIS", "cancel uniconify by visibility job", ec);
e_policy_visibility_client_uniconify_by_visibility_job_cancel(ec);
+ if ((ec->iconic == 1) && (ec->exp_iconify.last_sent_iconic == 0))
+ e_policy_wl_iconify_state_change_send(ec, 1);
}
e_policy_client_visibility_send(ec);
e_policy_client_iconify_by_visibility(ec);