Fix possible crash when using alt+tab again while coverswitch is closing. Backporting patch from rev. 864225. Fixes bug 170860.
svn path=/branches/KDE/4.1/kdebase/workspace/; revision=864228
This commit is contained in:
parent
5a0a633104
commit
c2b678929e
1 changed files with 1 additions and 1 deletions
|
@ -568,11 +568,11 @@ void CoverSwitchEffect::tabBoxAdded( int mode )
|
||||||
// only for windows mode
|
// only for windows mode
|
||||||
if( mode == TabBoxWindowsMode && effects->currentTabBoxWindowList().count() > 0 )
|
if( mode == TabBoxWindowsMode && effects->currentTabBoxWindowList().count() > 0 )
|
||||||
{
|
{
|
||||||
|
input = effects->createFullScreenInputWindow( this, Qt::BlankCursor );
|
||||||
if( !stop && !stopRequested )
|
if( !stop && !stopRequested )
|
||||||
{
|
{
|
||||||
effects->refTabBox();
|
effects->refTabBox();
|
||||||
effects->setActiveFullScreenEffect( this );
|
effects->setActiveFullScreenEffect( this );
|
||||||
input = effects->createFullScreenInputWindow( this, Qt::BlankCursor );
|
|
||||||
selectedWindow = effects->currentTabBoxWindowList().indexOf(effects->currentTabBoxWindow());
|
selectedWindow = effects->currentTabBoxWindowList().indexOf(effects->currentTabBoxWindow());
|
||||||
mActivated = true;
|
mActivated = true;
|
||||||
if( animateStart )
|
if( animateStart )
|
||||||
|
|
Loading…
Reference in a new issue