if (state)
{
evas_object_hide(ec->frame);
+ e_pixmap_image_clear(ec->pixmap, 1);
EC_CHANGED(ec);
}
else
{
- evas_object_show(ec->frame);
- e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
+ if (ec->iconic)
+ e_policy_wl_uniconify(ec);
+ else
+ {
+ evas_object_show(ec->frame);
+ e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
+ }
}
}
{
if (psurf->is_background) continue;
+ psurf->is_background = EINA_TRUE;
_e_policy_wl_background_state_set(psurf, EINA_TRUE);
}
ELOGF("TZPOL",
"Register PID(%u) for BACKGROUND STATE psurf:%p tzpol:%p",
ec->pixmap, ec, pid, psurf, psurf ? psurf->tzpol : NULL);
+
+ psurf->is_background = EINA_TRUE;
+ _e_policy_wl_background_state_set(psurf, EINA_TRUE);
}
+
+ return;
}
else
{