From d5da6310b44abd8977ea5e77f3b43532aa2fef7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 24 Sep 2008 08:45:53 +0000 Subject: [PATCH] Fix possible crash when alt+tabbing again while coverswitch is closing. BUG: 170860 svn path=/trunk/KDE/kdebase/workspace/; revision=864225 --- effects/coverswitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/coverswitch.cpp b/effects/coverswitch.cpp index 8efd1bf881..b5344ad1aa 100644 --- a/effects/coverswitch.cpp +++ b/effects/coverswitch.cpp @@ -567,11 +567,11 @@ void CoverSwitchEffect::tabBoxAdded( int mode ) // only for windows mode if( mode == TabBoxWindowsMode && effects->currentTabBoxWindowList().count() > 0 ) { + input = effects->createFullScreenInputWindow( this, Qt::BlankCursor ); if( !stop && !stopRequested ) { effects->refTabBox(); effects->setActiveFullScreenEffect( this ); - input = effects->createFullScreenInputWindow( this, Qt::BlankCursor ); selectedWindow = effects->currentTabBoxWindowList().indexOf(effects->currentTabBoxWindow()); mActivated = true; if( animateStart )