From 5c9fd523116fe89bf12ef26cae24b7cecbe48d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 21 Nov 2007 15:46:58 +0000 Subject: [PATCH] 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 --- composite.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composite.cpp b/composite.cpp index 57bd210e40..ae0bb32907 100644 --- a/composite.cpp +++ b/composite.cpp @@ -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; }