Prevent fade from affecting the login splash.
svn path=/trunk/KDE/kdebase/workspace/; revision=736675
This commit is contained in:
parent
21498ebad1
commit
eb3b63cad8
2 changed files with 6 additions and 0 deletions
|
@ -173,6 +173,11 @@ void FadeEffect::windowDeleted( EffectWindow* w )
|
||||||
|
|
||||||
bool FadeEffect::isFadeWindow( EffectWindow* w )
|
bool FadeEffect::isFadeWindow( EffectWindow* w )
|
||||||
{
|
{
|
||||||
|
if( w->windowClass() == "ksplashx ksplashx"
|
||||||
|
|| w->windowClass() == "ksplashsimple ksplashsimple" )
|
||||||
|
{ // see login effect
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return !w->isDesktop();
|
return !w->isDesktop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@ void LoginEffect::windowClosed( EffectWindow* w )
|
||||||
|
|
||||||
bool LoginEffect::isLoginSplash( EffectWindow* w )
|
bool LoginEffect::isLoginSplash( EffectWindow* w )
|
||||||
{ // TODO there should be probably a better way (window type?)
|
{ // TODO there should be probably a better way (window type?)
|
||||||
|
// see also fade effect
|
||||||
if( w->windowClass() == "ksplashx ksplashx"
|
if( w->windowClass() == "ksplashx ksplashx"
|
||||||
|| w->windowClass() == "ksplashsimple ksplashsimple" )
|
|| w->windowClass() == "ksplashsimple ksplashsimple" )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue