Make debug output say that compositing is not available also

if opengl/xrender weren't found at compile time.


svn path=/trunk/KDE/kdebase/workspace/; revision=739692
icc-effect-5.14.5
Luboš Luňák 2007-11-21 15:46:58 +00:00
parent dea2e71d4c
commit 5c9fd52311
1 changed files with 5 additions and 0 deletions

View File

@ -127,7 +127,12 @@ void Workspace::setupCompositing()
break;
#endif
default:
// this is the inverse of the two above tests, to have a different message
#if !(defined(HAVE_OPENGL) || (defined(HAVE_XRENDER) && defined(HAVE_XFIXES)))
kDebug( 1212 ) << "Compositing was not available at compile time";
#else
kDebug( 1212 ) << "No compositing";
#endif
delete cm_selection;
return;
}