discomfitor pushed a commit to branch master.

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

commit cdaa53fc8facb7add0961743efb749bb737b31de
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Sat Aug 30 07:12:49 2014 -0400

    only add damages for nocomp clients if they are protocol-visible
---
 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 47b5ab0..584ed3a 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -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);

-- 


Reply via email to