Debug output of composite/damage extensions are not available.

svn path=/trunk/KDE/kdebase/workspace/; revision=669803
This commit is contained in:
Luboš Luňák 2007-05-30 13:05:06 +00:00
parent 94bbce020a
commit b70a68b02b

View file

@ -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 ];