discomfitor pushed a commit to branch master.

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

commit 612a61ce0e8f11346f0fb346479471c27fa4ac4b
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jul 20 14:38:31 2015 -0400

    don't mangle wl client opaque region tiler during commit clip
---
 src/bin/e_comp_wl.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index b244f4b..0543d53 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1212,9 +1212,11 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
         itr = eina_tiler_iterator_new(state->opaque);
         EINA_ITERATOR_FOREACH(itr, rect)
           {
-             E_RECTS_CLIP_TO_RECT(rect->x, rect->y, rect->w, rect->h, 0, 0, 
state->bw, state->bh);
-             e_pixmap_image_opaque_set(ec->pixmap, rect->x, rect->y,
-                                       rect->w, rect->h);
+             Eina_Rectangle r;
+
+             EINA_RECTANGLE_SET(&r, rect->x, rect->y, rect->w, rect->h);
+             E_RECTS_CLIP_TO_RECT(r.x, r.y, r.w, r.h, 0, 0, state->bw, 
state->bh);
+             e_pixmap_image_opaque_set(ec->pixmap, r.x, r.y, r.w, r.h);
              break;
           }
 

-- 


Reply via email to