discomfitor pushed a commit to branch master.

commit c6c7ef7f2bf20bcf0c8fe1628ed024ea3491f6e9
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jul 26 12:19:34 2013 +0100

    only update comp win pixmap if there are damage updates since this will 
fail otherwise
---
 src/bin/e_comp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 95e4b9b..624c748 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -572,8 +572,8 @@ _e_comp_win_update(E_Comp_Win *cw)
         cw->shaped = _e_comp_win_shaped_check(cw, cw->shape->shape_rects, 
cw->shape->shape_rects_num);
      }
 
-   if (((!cw->pixmap) || (cw->needpix)) &&
-       (!cw->real_hid) && (!cw->nocomp) && (!cw->c->nocomp))
+   if (cw->dmg_updates && (((!cw->pixmap) || (cw->needpix)) &&
+       (!cw->real_hid) && (!cw->nocomp) && (!cw->c->nocomp)))
      {
         Ecore_X_Pixmap pm = 0;
 

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to