don't mangle wl client opaque region tiler during commit clip

This commit is contained in:
Mike Blumenkrantz 2015-07-20 14:38:31 -04:00
parent 4acce00428
commit 612a61ce0e
1 changed files with 5 additions and 3 deletions

View File

@ -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;
}