From 34b3b41ebddff6c9e5a1b73fa891beb0259861cf 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 02635b8a8..da1a5d7ba 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -320,7 +320,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);