Do not add NULL effect windows to the motion manager.
BUG: 222193 svn path=/trunk/KDE/kdebase/workspace/; revision=1073247
This commit is contained in:
parent
26555f6aa7
commit
fb8fc3001b
1 changed files with 2 additions and 0 deletions
|
@ -1544,6 +1544,8 @@ void PresentWindowsEffect::setActive( bool active, bool closingTab )
|
||||||
{
|
{
|
||||||
foreach( EffectWindow *w, effects->currentTabBoxWindowList() )
|
foreach( EffectWindow *w, effects->currentTabBoxWindowList() )
|
||||||
{
|
{
|
||||||
|
if( !w )
|
||||||
|
continue;
|
||||||
m_motionManager.manage( w );
|
m_motionManager.manage( w );
|
||||||
assert( m_windowData.contains( w ));
|
assert( m_windowData.contains( w ));
|
||||||
m_windowData[w].visible = effects->currentTabBoxWindowList().contains( w );
|
m_windowData[w].visible = effects->currentTabBoxWindowList().contains( w );
|
||||||
|
|
Loading…
Reference in a new issue