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

(#126291)


svn path=/trunk/KDE/kdebase/workspace/; revision=534187
icc-effect-5.14.5
Luboš Luňák 2006-04-26 15:08:02 +00:00
parent 7ebd302665
commit 423fc126d5
1 changed files with 3 additions and 3 deletions

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 );
}
}