I forgot to actually implement the resetCompositing() slot for the previous commit.

svn path=/trunk/KDE/kdebase/workspace/; revision=924759
This commit is contained in:
Luboš Luňák 2009-02-11 14:29:32 +00:00
parent c052cd2e57
commit 1c2ba6ea17
2 changed files with 10 additions and 0 deletions

View file

@ -288,6 +288,15 @@ void Workspace::suspendCompositing( bool suspend )
setupCompositing(); // will do nothing if suspended
}
void Workspace::resetCompositing()
{
if( compositing())
{
finishCompositing();
QTimer::singleShot( 0, this, SLOT( setupCompositing()));
}
}
void Workspace::addRepaint( int x, int y, int w, int h )
{
if( !compositing())

View file

@ -490,6 +490,7 @@ class Workspace : public QObject, public KDecorationDefines
void reconfigure();
void slotReconfigure();
void slotReinitCompositing();
void resetCompositing();
void slotKillWindow();