From 25d3fa6fd3cea16f8c59e18c9bf187c5e96e1429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 6 Jul 2010 11:56:49 +0000 Subject: [PATCH] Force blur on all windows in fade desktop effect. Should be safe and does not make the panel ugly svn path=/trunk/KDE/kdebase/workspace/; revision=1146696 --- effects/fadedesktop/fadedesktop.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/effects/fadedesktop/fadedesktop.cpp b/effects/fadedesktop/fadedesktop.cpp index fb142b3f15..990c7430b4 100644 --- a/effects/fadedesktop/fadedesktop.cpp +++ b/effects/fadedesktop/fadedesktop.cpp @@ -53,6 +53,10 @@ void FadeDesktopEffect::prePaintScreen( ScreenPrePaintData &data, int time ) { m_fading = false; m_timeline.setProgress( 0.0 ); + foreach( EffectWindow* w, effects->stackingOrder() ) + { + w->setData( WindowForceBlurRole, QVariant( false ) ); + } effects->setActiveFullScreenEffect( NULL ); } } @@ -100,6 +104,10 @@ void FadeDesktopEffect::desktopChanged( int old ) m_fading = true; m_timeline.setProgress( 0 ); m_oldDesktop = old; + foreach( EffectWindow* w, effects->stackingOrder() ) + { + w->setData( WindowForceBlurRole, QVariant( true ) ); + } effects->addRepaintFull(); }