special case: we don't care for shape of argb windows, don't fetch it.
SVN revision: 46272
This commit is contained in:
parent
e6746ce456
commit
61531ed0d3
|
@ -474,6 +474,10 @@ _e_mod_comp_win_update(E_Comp_Win *cw)
|
|||
}
|
||||
ecore_x_ungrab();
|
||||
|
||||
if (cw->argb)
|
||||
rects = NULL;
|
||||
else
|
||||
{
|
||||
/* watch out: rects is just freed at the function end!
|
||||
* adding any premature "return" will make it leak!
|
||||
*/
|
||||
|
@ -488,6 +492,7 @@ _e_mod_comp_win_update(E_Comp_Win *cw)
|
|||
cw->shaped = 1;
|
||||
cw->shape_changed = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if ((cw->c->gl) && (_comp_mod->conf->texture_from_pixmap) &&
|
||||
(!cw->shaped) && (!cw->shape_changed))
|
||||
|
|
Loading…
Reference in New Issue