From 7515cc8e0e9e2dd7c0ef33f30fc063a4b1c7b923 Mon Sep 17 00:00:00 2001 From: Rivo Laks Date: Sun, 16 Dec 2007 14:43:28 +0000 Subject: [PATCH] Repaint filter box area when filter is empty. svn path=/trunk/KDE/kdebase/workspace/; revision=749110 --- effects/presentwindows.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 2ee0639c82..181d2f976e 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -977,7 +977,10 @@ void PresentWindowsEffect::updateFilterTexture() #ifdef HAVE_OPENGL discardFilterTexture(); if( windowFilter.isEmpty()) + { + effects->addRepaint( filterTextureRect ); return; + } // Create font for filter text QFont font; font.setPointSize( font.pointSize() * 2 );