postpaintscreen, not window

svn path=/trunk/KDE/kdebase/workspace/; revision=736348
This commit is contained in:
Luboš Luňák 2007-11-14 00:28:41 +00:00
parent d2c3d1a832
commit f406b68a57
2 changed files with 5 additions and 5 deletions

View file

@ -43,11 +43,11 @@ void LogoutEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Windo
effects->paintWindow( w, mask, region, data ); effects->paintWindow( w, mask, region, data );
} }
void LogoutEffect::postPaintWindow( EffectWindow* w ) void LogoutEffect::postPaintScreen()
{ {
if( logout_window != NULL && w != logout_window && progress != 1 ) if( logout_window != NULL && progress != 1 )
w->addRepaintFull(); effects->addRepaintFull();
effects->postPaintWindow( w ); effects->postPaintScreen();
} }
void LogoutEffect::windowAdded( EffectWindow* w ) void LogoutEffect::windowAdded( EffectWindow* w )

View file

@ -23,8 +23,8 @@ class LogoutEffect
public: public:
LogoutEffect(); LogoutEffect();
virtual void prePaintScreen( ScreenPrePaintData& data, int time ); virtual void prePaintScreen( ScreenPrePaintData& data, int time );
virtual void postPaintScreen();
virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data ); virtual void paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data );
virtual void postPaintWindow( EffectWindow* w );
virtual void windowAdded( EffectWindow* w ); virtual void windowAdded( EffectWindow* w );
virtual void windowClosed( EffectWindow* w ); virtual void windowClosed( EffectWindow* w );
private: private: