fixed hanging keyboard in CDE-style Alt-Tab

svn path=/trunk/kdebase/kwin/; revision=109474
This commit is contained in:
Matthias Ettrich 2001-08-07 11:15:12 +00:00
parent 18c0f2687a
commit bb34fb1c55

View file

@ -792,10 +792,11 @@ void Workspace::slotWalkThroughWindows()
return;
if( tab_grab || control_grab )
return;
if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable() )
if ( options->altTabStyle == Options::CDE || !options->focusPolicyIsReasonable() ) {
XUngrabKeyboard(qt_xdisplay(), kwin_time); // need that because of accelerator raw mode
// CDE style raise / lower
CDEWalkThroughWindows( true );
else {
} else {
if( areModKeysDepressed( walkThroughWindowsKeycode ) ) {
if ( startKDEWalkThroughWindows() )
KDEWalkThroughWindows( true );