fixed hanging keyboard in CDE-style Alt-Tab
svn path=/trunk/kdebase/kwin/; revision=109474
This commit is contained in:
parent
18c0f2687a
commit
bb34fb1c55
1 changed files with 3 additions and 2 deletions
|
@ -792,10 +792,11 @@ void Workspace::slotWalkThroughWindows()
|
||||||
return;
|
return;
|
||||||
if( tab_grab || control_grab )
|
if( tab_grab || control_grab )
|
||||||
return;
|
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
|
// CDE style raise / lower
|
||||||
CDEWalkThroughWindows( true );
|
CDEWalkThroughWindows( true );
|
||||||
else {
|
} else {
|
||||||
if( areModKeysDepressed( walkThroughWindowsKeycode ) ) {
|
if( areModKeysDepressed( walkThroughWindowsKeycode ) ) {
|
||||||
if ( startKDEWalkThroughWindows() )
|
if ( startKDEWalkThroughWindows() )
|
||||||
KDEWalkThroughWindows( true );
|
KDEWalkThroughWindows( true );
|
||||||
|
|
Loading…
Reference in a new issue