From 281ccd220691aa092164eb89f06099aaee8da992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 30 Jun 2008 15:09:07 +0000 Subject: [PATCH] Makes the animation working again. I have no idea why the animation was broken. svn path=/trunk/KDE/kdebase/workspace/; revision=826359 --- effects/flipswitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/flipswitch.cpp b/effects/flipswitch.cpp index 1022317515..04f0c2a1f4 100644 --- a/effects/flipswitch.cpp +++ b/effects/flipswitch.cpp @@ -64,7 +64,7 @@ void FlipSwitchEffect::prePaintScreen( ScreenPrePaintData& data, int time ) if( mActivated || stopRequested || stop ) { data.mask |= Effect::PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS; - if( mAnimation ) + if( mAnimation && ( start || stop || animateFlip ) ) timeLine.addTime( (double)time ); } effects->prePaintScreen(data, time);