From b70a68b02bba38b214af354cd986af0bde4ba59e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 30 May 2007 13:05:06 +0000 Subject: [PATCH] Debug output of composite/damage extensions are not available. svn path=/trunk/KDE/kdebase/workspace/; revision=669803 --- composite.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index f3435e0fa5..aabb800ef1 100644 --- a/composite.cpp +++ b/composite.cpp @@ -55,8 +55,16 @@ void Workspace::setupCompositing() #if defined( HAVE_XCOMPOSITE ) && defined( HAVE_XDAMAGE ) if( !options->useTranslucency ) return; - if( !Extensions::compositeAvailable() || !Extensions::damageAvailable()) + if( !Extensions::compositeAvailable()) + { + kDebug( 1212 ) << "No composite extension available" << endl; return; + } + if( !Extensions::damageAvailable()) + { + kDebug( 1212 ) << "No damage extension available" << endl; + return; + } if( scene != NULL ) return; char selection_name[ 100 ];