From 26555f6aa7c3544c90162be7fc47ab6d120eea64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 11 Jan 2010 20:01:25 +0000 Subject: [PATCH] Only react on tabbox key events in present windows if the effect is activated. svn path=/trunk/KDE/kdebase/workspace/; revision=1073187 --- effects/presentwindows/presentwindows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp index b5dd5b86a4..4026fac6f4 100644 --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -690,6 +690,8 @@ void PresentWindowsEffect::tabBoxUpdated() void PresentWindowsEffect::tabBoxKeyEvent( QKeyEvent* event ) { + if( !m_activated ) + return; // not using the "normal" grabbedKeyboardEvent as we don't want to filter in tabbox if( event->type() == QEvent::KeyPress ) {