Only use cube in static desktop list. Doesn't make sense in random order.

CCBUG: 208520

svn path=/trunk/KDE/kdebase/workspace/; revision=1042389
This commit is contained in:
Martin Gräßlin 2009-10-29 18:12:10 +00:00
parent c4e0e0a612
commit 10f0a1c3af

View file

@ -2206,7 +2206,7 @@ void CubeEffect::tabBoxAdded( int mode )
return;
if( effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this )
return;
if( useForTabBox && mode != TabBoxWindowsMode )
if( useForTabBox && mode == TabBoxDesktopListMode )
{
effects->refTabBox();
tabBoxMode = true;