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
This commit is contained in:
Luboš Luňák 2005-05-09 12:09:24 +00:00
parent 75ff6d1d80
commit 7f5e7219c9

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