There is no way to know the reason why the window is fully-obsucred when an app
get the visibility event.
So, we add code to send the dpms state at that point of the time before sending
visibility event.
Change-Id: Ib0d6631f0647f067bd9c8f6969f67da5b8dff993
EINA_LIST_FOREACH(psurf->vislist, ll, res_tzvis)
{
+ // below code is workaround for checking visibility by display off or not
+ if (ec->zone)
+ {
+ if (ec->zone->display_state == E_ZONE_DISPLAY_STATE_ON)
+ e_policy_aux_message_send(ec, "dpms_wm", "on", NULL);
+ else
+ e_policy_aux_message_send(ec, "dpms_wm", "off", NULL);
+ }
+
tizen_visibility_send_notify(res_tzvis, vis);
ELOGF("TZVIS",
"SEND |win:0x%08x|res_tzvis:0x%08x|v:%d",