Ok, the splash needs to cover the entire screen, no hacks in the effect

trying to hide other windows. Fullscreen splash is a good idea anyway,
it'll hide all the setting up of kdesktop+kicker ... er .. plasma.

Speaking of which, are there any plans concerning the splash,
or are we sticking with the Akademy photo for 4.0?

CCMAIL: kde-core-devel@kde.org
CCMAIl: kde-artists@kde.org


svn path=/trunk/KDE/kdebase/workspace/; revision=736725
This commit is contained in:
Luboš Luňák 2007-11-14 16:30:11 +00:00
parent b91c6fce83
commit 5e3ba8b778

View file

@ -54,21 +54,8 @@ void LoginEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int
void LoginEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
{
if( login_window != NULL )
{
if( progress == 1 )
{
if( w != login_window )
data.brightness = 0; // not visible
}
else
{
if( w == login_window )
data.opacity *= ( 1 - progress );
else
data.brightness *= progress;
}
}
if( w == login_window && progress != 1 )
data.opacity *= ( 1 - progress );
effects->paintWindow( w, mask, region, data );
}