Properly initialize Scene::Window pointers in EffectWindow objects.

svn path=/trunk/KDE/kdebase/workspace/; revision=739644
This commit is contained in:
Rivo Laks 2007-11-21 13:36:58 +00:00
parent 373f6e552a
commit f4600f4b3f
2 changed files with 2 additions and 0 deletions

View file

@ -701,6 +701,7 @@ void SceneOpenGL::windowAdded( Toplevel* c )
{
assert( !windows.contains( c ));
windows[ c ] = new Window( c );
c->effectWindow()->setSceneWindow( windows[ c ]);
}
void SceneOpenGL::windowClosed( Toplevel* c, Deleted* deleted )

View file

@ -316,6 +316,7 @@ void SceneXrender::windowAdded( Toplevel* c )
{
assert( !windows.contains( c ));
windows[ c ] = new Window( c );
c->effectWindow()->setSceneWindow( windows[ c ]);
}
// Convert QRegion to XserverRegion. This code uses XserverRegion