Prevent wobbly windows from being enabled while in XRender mode.

svn path=/trunk/KDE/kdebase/workspace/; revision=926396
master
Lucas Murray 16 years ago
parent f5790fcce1
commit 3f5a338234

@ -166,6 +166,7 @@ static const ParameterSet set_4 =
static const ParameterSet pset[5] = { set_0, set_1, set_2, set_3, set_4 };
KWIN_EFFECT(wobblywindows, WobblyWindowsEffect)
KWIN_EFFECT_SUPPORTED(wobblywindows, WobblyWindowsEffect::supported())
WobblyWindowsEffect::WobblyWindowsEffect()
{
@ -245,6 +246,10 @@ void WobblyWindowsEffect::reconfigure( ReconfigureFlags )
#endif
}
bool WobblyWindowsEffect::supported()
{
return effects->compositingType() == OpenGLCompositing;
}
void WobblyWindowsEffect::setParameterSet(const ParameterSet& pset)
{

@ -58,6 +58,8 @@ class WobblyWindowsEffect : public Effect
Closing
};
static bool supported();
private:
bool updateWindowWobblyDatas(EffectWindow* w, qreal time);

Loading…
Cancel
Save