}
if (!find_above) return;
+ if (ec->visibility.last_sent_type == E_VISIBILITY_PRE_UNOBSCURED)
+ {
+ if (!e_policy_visibility_client_is_uniconify_render_running(ec))
+ {
+ ELOGF("POL_VIS", "SEND unobscured/fully-obscured visibility event because iconify visibility", ec);
+ e_policy_wl_visibility_send(ec, E_VISIBILITY_UNOBSCURED);
+ e_policy_wl_visibility_send(ec, E_VISIBILITY_FULLY_OBSCURED);
+ }
+ }
if (obscured_by_alpha_opaque)
{
e_policy_client_uniconify_by_visibility(ec);
}
else
{
- if (ec->visibility.last_sent_type == E_VISIBILITY_PRE_UNOBSCURED)
- {
- if (!e_policy_visibility_client_is_uniconify_render_running(ec))
- {
- ELOGF("POL_VIS", "SEND unobscured/fully-obscured visibility event because iconify visibility", ec);
- e_policy_wl_visibility_send(ec, E_VISIBILITY_UNOBSCURED);
- e_policy_wl_visibility_send(ec, E_VISIBILITY_FULLY_OBSCURED);
- }
- }
e_policy_client_iconify_by_visibility(ec);
}
}