Prevent XRender mode from crashing when shadows are enabled.
svn path=/trunk/KDE/kdebase/workspace/; revision=872475
This commit is contained in:
parent
0442bcf1f7
commit
7597ce484e
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,8 @@ void ShadowEffect::drawWindow( EffectWindow* w, int mask, QRegion region, Window
|
|||
|
||||
void ShadowEffect::buildQuads( EffectWindow* w, WindowQuadList& quadList )
|
||||
{
|
||||
if( effects->compositingType() == XRenderCompositing )
|
||||
return; // TODO: Disable quad-based shadows in XRender mode for the moment
|
||||
if( effects->hasDecorationShadows() )
|
||||
{
|
||||
// TODO: shadowQuads() is allowed to return different quads for
|
||||
|
|
Loading…
Reference in a new issue