From 423fc126d5349abece3bf5eca321ef78c223c970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 26 Apr 2006 15:08:02 +0000 Subject: [PATCH] Obey automatic un-hover option also when switching to a shaded window with alt+tab. (#126291) svn path=/trunk/KDE/kdebase/workspace/; revision=534187 --- tabbox.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tabbox.cpp b/tabbox.cpp index 69d8cdab61..c6a7e38a1e 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -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 ); } }