This patch is related with below patch.
"e_policy_zone: check uniconify_render while calculating visibility"
Previous patch was checking uniconify_render_running or uniconify_render_running_done state.
But it had a side effect for calculate visibility.
So, we modified code to check only uniconify_render_running state.
Change-Id: I88dcd735b03cf9c835b57cfa93276dca5b75cdb4
return _e_vis_client_is_uniconic(vc);
}
+E_API Eina_Bool
+e_policy_visibility_client_check_uniconify_render_running(E_Client *ec)
+{
+ E_VIS_CLIENT_GET_OR_RETURN_VAL(vc, ec, EINA_FALSE);
+
+ return _e_vis_client_is_uniconify_render_running(vc);
+}
+
E_API Eina_Bool
e_policy_visibility_client_is_uniconify_render_running(E_Client *ec)
{
/* obscured case */
if (e_client_visibility_get(ec) != E_VISIBILITY_FULLY_OBSCURED)
{
- if (e_policy_visibility_client_is_uniconify_render_running(ec))
+ if (e_policy_visibility_client_check_uniconify_render_running(ec))
{
ELOGF("POL_VIS", "CLIENT VIS OFF-SKIP. argb:%d, opaque:%2d, frame_v:%d, canvas_v:%d, calc_r:%d(%d), ignore_geometry:%d, show_p:%d, geo(%d,%d,%dx%d)",
ec, ec->argb, ec->visibility.opaque,
E_API Eina_Bool e_policy_visibility_client_lower(E_Client *ec);
E_API E_Vis_Grab *e_policy_visibility_client_grab_get(E_Client *ec, const char *name);
E_API void e_policy_visibility_client_grab_release(E_Vis_Grab *grab);
+E_API Eina_Bool e_policy_visibility_client_check_uniconify_render_running(E_Client *ec);
E_API Eina_Bool e_policy_visibility_client_is_uniconify_render_running(E_Client *ec);
E_API void e_policy_visibility_client_below_uniconify_skip_set(E_Client *ec, Eina_Bool skip);