discomfitor pushed a commit to branch master.

commit 9528724cd912fcc7601b53ededc077f934f11e96
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jun 17 07:59:46 2013 +0100

    try adding comp damage rects on resume so the screen doesn't stay black
---
 src/bin/e_comp.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index c592e8d..9cbe30b 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -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);
 }
 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to