derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4077b3ce591069dc4f9fe239aa1a9128173d3c56

commit 4077b3ce591069dc4f9fe239aa1a9128173d3c56
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Jul 18 14:02:36 2017 -0500

    Don't block wayland client updates during screen saver fade out
    
    We stop allowing client updates when the screensaver is on to save power,
    however this happens at the start of the fade-out.  On wayland this stops
    any visible client change.
    
    If we wait until after the canvas is set to manual render instead then
    we get similar benefit but don't lose display updates while they're
    still visible.
    
    Fix T5714
---
 src/bin/e_comp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index ae0b6138d..1732c7cb7 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -321,7 +321,8 @@ _e_comp_client_update(E_Client *ec)
                e_comp_object_render_update_add(ec->frame);
           }
      }
-   if ((!e_comp->saver) && e_pixmap_size_get(ec->pixmap, &pw, &ph))
+   if (!(e_comp->saver && ecore_evas_manual_render_get(e_comp->ee)) &&
+       e_pixmap_size_get(ec->pixmap, &pw, &ph))
      {
         //INF("PX DIRTY: PX(%dx%d) CLI(%dx%d)", pw, ph, ec->client.w, 
ec->client.h);
         e_pixmap_image_refresh(ec->pixmap);

-- 


Reply via email to