Make KDE Alt+Tab style possible even with unreasonable focus policies.

It doesn't work that well, but oh well.
BUG: 105263

svn path=/trunk/KDE/kdebase/kwin/; revision=411473
icc-effect-5.14.5
Luboš Luňák 2005-05-09 12:09:24 +00:00
parent 75ff6d1d80
commit 7f5e7219c9
1 changed files with 2 additions and 2 deletions

View File

@ -723,7 +723,7 @@ void Workspace::slotWalkThroughWindows()
return;
if ( tab_grab || control_grab )
return;
if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable() )
if ( options->altTabStyle == Options::CDE )
{
//XUngrabKeyboard(qt_xdisplay(), qt_x_time); // need that because of accelerator raw mode
// CDE style raise / lower
@ -749,7 +749,7 @@ void Workspace::slotWalkBackThroughWindows()
return;
if( tab_grab || control_grab )
return;
if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable() )
if ( options->altTabStyle == Options::CDE )
{
// CDE style raise / lower
CDEWalkThroughWindows( false );