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:
parent
7ebd302665
commit
423fc126d5
1 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue