try adding comp damage rects on resume so the screen doesn't stay black

This commit is contained in:
Mike Blumenkrantz 2013-06-17 07:59:46 +01:00
parent 4e2dd06861
commit 9528724cd9
1 changed files with 5 additions and 0 deletions

View File

@ -4462,6 +4462,11 @@ _e_comp_sys_logout(void)
static void
_e_comp_sys_resume(void)
{
Eina_List *l;
E_Comp *c;
EINA_LIST_FOREACH(compositors, l, c)
evas_damage_rectangle_add(c->evas, 0, 0, c->man->w, c->man->h);
_e_comp_sys_emit_cb_wait(E_SYS_SUSPEND, "e,state,sys,resume", NULL, EINA_FALSE);
}