diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 649269d5ca41..fb3bd72b65c6 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -601,7 +601,7 @@ bool OpenGLContext::initWindow() if( m_pChildWindow ) { m_pChildWindow->SetMouseTransparent( true ); - m_pChildWindow->SetParentClipMode( PARENTCLIPMODE_NOCLIP ); + m_pChildWindow->SetParentClipMode(PARENTCLIPMODE_CLIP); m_pChildWindow->EnableEraseBackground( false ); m_pChildWindow->SetControlForeground(); m_pChildWindow->SetControlBackground();