Prevent wobbly windows from being enabled while in XRender mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=926396
This commit is contained in:
parent
f5790fcce1
commit
3f5a338234
2 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue