Fix commit which broke shadows.

svn path=/trunk/KDE/kdebase/workspace/; revision=928975
icc-effect-5.14.5
Martin Gräßlin 2009-02-20 13:48:23 +00:00
parent 277e7e033d
commit 445f021b06
1 changed files with 3 additions and 1 deletions

View File

@ -1291,6 +1291,8 @@ void CubeEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int
{
data.quads = data.quads.splitAtY( rect.height() - w->y() );
}
if( useZOrdering && !w->isDesktop() && !w->isDock() )
data.setTransformed();
w->enablePainting( EffectWindow::PAINT_DISABLED_BY_DESKTOP );
}
else
@ -1576,7 +1578,7 @@ void CubeEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowP
}
}
}
effects->paintWindow( w, PAINT_WINDOW_TRANSFORMED, region, data );
effects->paintWindow( w, mask, region, data );
if( activated && cube_painting )
{
glPopMatrix();