There was a bug that the window didn't get uniconic state change event, so it didn't try to render again.
This was because the vc->state remained to E_VIS_ICONIFY_STATE_RUNNING_UNICONIFY_RENDER_DONE
when the uniconify_by_visibility job was canceled.
We fix this problem.
Change-Id: I9fa1d21528aa26658f04c6b2efe78e322e16a551
(cherry picked from commit
31de8224f7d44e08809faa3f1a8f0d72d10d5272)
ret = _e_vis_job_cancel(vc, E_VIS_JOB_TYPE_UNICONIFY_BY_VISIBILITY);
if (!_e_vis_job_is_grabbed(vc, E_VIS_JOB_TYPE_ALL ^ E_VIS_JOB_TYPE_UNICONIFY_BY_VISIBILITY))
- E_FREE_FUNC(vc->grab, _e_vis_grab_release);
+ {
+ vc->state = E_VIS_ICONIFY_STATE_ICONIC;
+ VS_DBG(vc->ec, "\tUPDATE ICONIC STATE: %s", STATE_STR(vc));
+ E_FREE_FUNC(vc->grab, _e_vis_grab_release);
+ }
return ret;
}