Don't wobbly when another effect is handling opening/closing of windows.
svn path=/trunk/KDE/kdebase/workspace/; revision=1159181
This commit is contained in:
parent
6ad3754de0
commit
f5fde6c8d2
1 changed files with 2 additions and 2 deletions
|
@ -493,7 +493,7 @@ void WobblyWindowsEffect::stepMovedResized(EffectWindow* w)
|
||||||
|
|
||||||
void WobblyWindowsEffect::windowAdded(EffectWindow* w)
|
void WobblyWindowsEffect::windowAdded(EffectWindow* w)
|
||||||
{
|
{
|
||||||
if (m_openEffectEnabled)
|
if (m_openEffectEnabled && w->data( WindowAddedGrabRole ).value<void*>() != this)
|
||||||
{
|
{
|
||||||
if(windows.contains(w))
|
if(windows.contains(w))
|
||||||
{
|
{
|
||||||
|
@ -529,7 +529,7 @@ void WobblyWindowsEffect::windowClosed(EffectWindow* w)
|
||||||
effects->addRepaintFull();
|
effects->addRepaintFull();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (m_closeEffectEnabled)
|
else if (m_closeEffectEnabled && w->data( WindowAddedGrabRole ).value<void*>() != this)
|
||||||
{
|
{
|
||||||
WindowWobblyInfos new_wwi;
|
WindowWobblyInfos new_wwi;
|
||||||
initWobblyInfo(new_wwi, w->geometry());
|
initWobblyInfo(new_wwi, w->geometry());
|
||||||
|
|
Loading…
Reference in a new issue