From e35a07a08d8ef3c6baa94422307c75e11b764624 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 9 Sep 2009 10:05:52 +0000 Subject: [PATCH] reove the window from the ignored list of the fade effect if the sliding effect gets removed svn path=/trunk/KDE/kdebase/workspace/; revision=1021482 --- effects/slidingpopups/slidingpopups.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/effects/slidingpopups/slidingpopups.cpp b/effects/slidingpopups/slidingpopups.cpp index 1ba94cb570..07f1bffdea 100644 --- a/effects/slidingpopups/slidingpopups.cpp +++ b/effects/slidingpopups/slidingpopups.cpp @@ -184,7 +184,15 @@ void SlidingPopupsEffect::propertyNotify( EffectWindow* w, long a ) QByteArray data = w->readProperty( mAtom, mAtom, 32 ); if( data.length() < 1 ) + { + FadeEffectProxy* proxy = + static_cast( effects->getProxy( "fade" ) ); + if( proxy ) + proxy->setWindowIgnored(w, false); + return; + } + long* d = reinterpret_cast< long* >( data.data()); Data animData; animData.start = d[ 0 ];