only add damages for nocomp clients if they are protocol-visible

This commit is contained in:
Mike Blumenkrantz 2014-08-30 07:12:49 -04:00
parent e949fcc077
commit cdaa53fc8f
1 changed files with 2 additions and 1 deletions

View File

@ -270,7 +270,8 @@ _e_comp_cb_nocomp_end(E_Comp *c)
E_CLIENT_FOREACH(c, ec)
{
e_client_redirected_set(ec, 1);
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
if (ec->visible)
e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
}
e_comp_render_queue(c);
e_comp_shape_queue_block(c, 0);