diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 4044f89882..811f3b7808 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -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 )