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
This commit is contained in:
parent
859d129edd
commit
4077b3ce59
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue