diff --git a/scene_opengl.cpp b/scene_opengl.cpp index ab4d604c37..86948c2819 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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 ) diff --git a/scene_xrender.cpp b/scene_xrender.cpp index 3d94dc309f..0b37b85cb9 100644 --- a/scene_xrender.cpp +++ b/scene_xrender.cpp @@ -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