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:
parent
093617aafb
commit
cb46043efd
1 changed files with 1 additions and 1 deletions
|
@ -548,7 +548,7 @@ void TabBox::drawContents( QPainter * )
|
||||||
void TabBox::updateOutline()
|
void TabBox::updateOutline()
|
||||||
{
|
{
|
||||||
Client* c = currentClient();
|
Client* c = currentClient();
|
||||||
if( c == NULL )
|
if( c == NULL || this->isHidden() || !c->isShown( true ) || !c->isOnCurrentDesktop())
|
||||||
{
|
{
|
||||||
XUnmapWindow( display(), outline_left );
|
XUnmapWindow( display(), outline_left );
|
||||||
XUnmapWindow( display(), outline_right );
|
XUnmapWindow( display(), outline_right );
|
||||||
|
|
Loading…
Reference in a new issue