From 7f5e7219c95731c2828afbb58c4598e62ae88dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 9 May 2005 12:09:24 +0000 Subject: [PATCH] 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 --- tabbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabbox.cpp b/tabbox.cpp index 6014c01962..02ce0b4dd9 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -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 );