Fix #47757. Approved by Gallium.

svn path=/trunk/kdebase/kwin/; revision=184026
This commit is contained in:
Luboš Luňák 2002-10-15 13:42:35 +00:00
parent 35c890d029
commit e494dc3161

View file

@ -929,14 +929,11 @@ void Workspace::slotWalkThroughWindows()
KDEWalkThroughWindows( true ); KDEWalkThroughWindows( true );
} }
else else
// if the shortcut has no modifiers, don't show the tabbox, but // if the shortcut has no modifiers, don't show the tabbox,
// simply go to the next window; if the shortcut has no modifiers, // don't grab, but simply go to the next window
// the only sane thing to do is to release the key immediately // use the CDE style, because with KDE style it would cycle
// anyway, so the tabbox wouldn't appear anyway // between the active and previously active window
// it's done this way without grabbing because with grabbing CDEWalkThroughWindows( true );
// the keyboard wasn't ungrabbed and I really have no idea why
// <l.lunak@kde.org>
KDEOneStepThroughWindows( true );
} }
} }
@ -948,13 +945,13 @@ void Workspace::slotWalkBackThroughWindows()
return; return;
if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable() ) { if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable() ) {
// CDE style raise / lower // CDE style raise / lower
CDEWalkThroughWindows( true ); CDEWalkThroughWindows( false );
} else { } else {
if ( areModKeysDepressed( cutWalkThroughWindowsReverse ) ) { if ( areModKeysDepressed( cutWalkThroughWindowsReverse ) ) {
if ( startKDEWalkThroughWindows() ) if ( startKDEWalkThroughWindows() )
KDEWalkThroughWindows( false ); KDEWalkThroughWindows( false );
} else { } else {
KDEOneStepThroughWindows( false ); CDEWalkThroughWindows( false );
} }
} }
} }