Don't use the gl lists when a new window is added. This prevents the added window becoming black.
svn path=/trunk/KDE/kdebase/workspace/; revision=941274
This commit is contained in:
parent
141f166c56
commit
f232a830aa
2 changed files with 9 additions and 0 deletions
|
@ -2068,4 +2068,12 @@ void CubeEffect::tabBoxClosed()
|
|||
}
|
||||
}
|
||||
|
||||
void CubeEffect::windowAdded( EffectWindow* )
|
||||
{
|
||||
// when there is a new window we have to paint it once without using GL List
|
||||
// to prevent that the window is black
|
||||
if( activated )
|
||||
useList = false;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -51,6 +51,7 @@ class CubeEffect
|
|||
virtual void tabBoxAdded( int mode );
|
||||
virtual void tabBoxUpdated();
|
||||
virtual void tabBoxClosed();
|
||||
virtual void windowAdded( EffectWindow* );
|
||||
|
||||
static bool supported();
|
||||
private slots:
|
||||
|
|
Loading…
Reference in a new issue