Only react on tabbox key events in present windows if the effect is activated.

svn path=/trunk/KDE/kdebase/workspace/; revision=1073187
This commit is contained in:
Martin Gräßlin 2010-01-11 20:01:25 +00:00
parent e2240a8427
commit 26555f6aa7

View file

@ -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 )
{