From d581847b47c867c2fd5882249429cbcf846c4eef Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Sat, 19 Sep 2009 21:11:28 +0000 Subject: [PATCH] always enable 'smooth' transitions except for 'preview'. This allows to have smooth title bar text color transition even if everything (compositing, glow, separator, etc.) is disabled svn path=/trunk/KDE/kdebase/workspace/; revision=1025845 --- clients/oxygen/oxygenclient.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clients/oxygen/oxygenclient.h b/clients/oxygen/oxygenclient.h index 33191fa8c9..3cfb3fed46 100644 --- a/clients/oxygen/oxygenclient.h +++ b/clients/oxygen/oxygenclient.h @@ -157,10 +157,7 @@ namespace Oxygen bool animateActiveChange( void ) const { if( isPreview() ) return false; - else return - (compositingActive() && !isMaximized() && configuration().useOxygenShadows()) || - configuration().drawSeparator() || - configuration().drawTitleOutline(); + else return true; } //! calculate mask