Obey automatic un-hover option also when switching to a shaded window with alt+tab.

(#126291)


svn path=/trunk/KDE/kdebase/workspace/; revision=534187
This commit is contained in:
Luboš Luňák 2006-04-26 15:08:02 +00:00
parent 7ebd302665
commit 423fc126d5

View file

@ -977,7 +977,7 @@ void Workspace::CDEWalkThroughWindows( bool forward )
if ( options->focusPolicyIsReasonable() )
{
activateClient( nc );
if( nc->isShade())
if( nc->isShade() && options->shadeHover )
nc->setShade( ShadeActivated );
}
else
@ -997,7 +997,7 @@ void Workspace::KDEOneStepThroughWindows( bool forward )
if( Client* c = tab_box->currentClient() )
{
activateClient( c );
if( c->isShade())
if( c->isShade() && options->shadeHover )
c->setShade( ShadeActivated );
}
}
@ -1120,7 +1120,7 @@ void Workspace::tabBoxKeyRelease( const XKeyEvent& ev )
if( Client* c = tab_box->currentClient())
{
activateClient( c );
if( c->isShade())
if( c->isShade() && options->shadeHover )
c->setShade( ShadeActivated );
}
}