Disable AnimationEffects when the screen is locked

BUG:425157
remotes/origin/work/cleanup-license-headers
David Redondo 6 years ago
parent c8433e5194
commit 2a9971fa08
  1. 2
      libkwineffects/kwinanimationeffect.cpp

@ -78,7 +78,7 @@ void AnimationEffect::init()
bool AnimationEffect::isActive() const
{
Q_D(const AnimationEffect);
return !d->m_animations.isEmpty();
return !d->m_animations.isEmpty() && !effects->isScreenLocked();
}

Loading…
Cancel
Save