only update comp win pixmap if there are damage updates since this will fail otherwise

This commit is contained in:
Mike Blumenkrantz 2013-07-26 12:19:34 +01:00
parent ab7d0eea11
commit c6c7ef7f2b
1 changed files with 2 additions and 2 deletions

View File

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