From 5b7ef4774622cd795ec952e3b622e681ce366eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 7 Nov 2006 17:27:58 +0000 Subject: [PATCH] Check root visual also when trying to find non-db config. svn path=/branches/work/kwin_composite/; revision=603055 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index a9874ca3f2..2d995cb472 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -235,7 +235,7 @@ void SceneOpenGL::initBuffer() root_db = true; else { - if( findConfig( root_buffer_attrs, fbcroot )) + if( findConfig( root_buffer_attrs, fbcroot, XVisualIDFromVisual( attrs.visual ))) root_db = false; else assert( false );