Clean up properly.

BUG: 154270


svn path=/trunk/KDE/kdebase/workspace/; revision=762660
icc-effect-5.14.5
Luboš Luňák 2008-01-17 16:24:11 +00:00
parent d40cbd887a
commit cef15afe8a
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,7 @@ void PresentWindowsEffect::setActive(bool active)
mActiveness = 1; // go back from arranged position
discardFilterTexture();
mHighlightedWindow = NULL;
windowFilter.clear();
}
effects->addRepaintFull(); // trigger next animation repaint
}
@ -341,6 +342,7 @@ void PresentWindowsEffect::effectActivated()
void PresentWindowsEffect::effectTerminated()
{
mWindowData.clear();
// Destroy the temporary input window
effects->destroyInputWindow( mInput );
if( hasKeyboardGrab )