EINA_LIST_FOREACH(psurf->vislist, ll, res_tzvis)
{
// below code is workaround for checking visibility by display off or not
- if (ec->zone)
- {
- if (e_comp_client_zone_is_displaying(ec))
- e_policy_aux_message_send(ec, "dpms_wm", "on", NULL);
- else
- e_policy_aux_message_send(ec, "dpms_wm", "off", NULL);
- }
+ if (e_comp_client_zone_is_displaying(ec))
+ e_policy_aux_message_send(ec, "dpms_wm", "on", NULL);
+ else
+ e_policy_aux_message_send(ec, "dpms_wm", "off", NULL);
ver = wl_resource_get_version(res_tzvis);
sent_vis = vis;
if (!ec) continue;
if (e_object_is_del(E_OBJECT(ec))) continue;
if (e_client_util_ignored_get(ec)) continue;
- if (ec->zone != zone) continue;
+ if (!e_zone_has_ec(zone, ec)) continue;
if (!ec->frame) continue;
if (!ec->visible) continue;