Don't show outline when tabbox is not visible or for clients

that are not visible (#132510).


svn path=/trunk/KDE/kdebase/workspace/; revision=573637
This commit is contained in:
Luboš Luňák 2006-08-16 21:20:34 +00:00
parent 093617aafb
commit cb46043efd

View file

@ -548,7 +548,7 @@ void TabBox::drawContents( QPainter * )
void TabBox::updateOutline()
{
Client* c = currentClient();
if( c == NULL )
if( c == NULL || this->isHidden() || !c->isShown( true ) || !c->isOnCurrentDesktop())
{
XUnmapWindow( display(), outline_left );
XUnmapWindow( display(), outline_right );