From 4077b3ce591069dc4f9fe239aa1a9128173d3c56 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Tue, 18 Jul 2017 14:02:36 -0500 Subject: [PATCH] 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);