Fix desktop grid without present windows mode

Effect was not marked as active.
BUG: 282461
FIXED-IN: 4.8.0
This commit is contained in:
Martin Gräßlin 2011-11-12 16:17:28 +01:00
parent 4e8a0fcaec
commit ad950f71ab

View file

@ -1374,7 +1374,7 @@ void DesktopGridEffect::desktopsRemoved(int old)
bool DesktopGridEffect::isActive() const
{
return timeline.currentValue() != 0 || (isUsingPresentWindows() && isMotionManagerMovingWindows());
return timeline.currentValue() != 0 || activated || (isUsingPresentWindows() && isMotionManagerMovingWindows());
}
/************************************************