diff options
-rw-r--r-- | kdefx/kstyle.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kdefx/kstyle.cpp b/kdefx/kstyle.cpp index 3f3f36b71..f80094fe4 100644 --- a/kdefx/kstyle.cpp +++ b/kdefx/kstyle.cpp @@ -144,9 +144,7 @@ class TransparencyHandler : public TQObject #ifdef HAVE_XRENDER void XRenderBlendToPixmap(const TQWidget* p); #endif -#ifdef HAVE_XCOMPOSITE - bool haveX11RGBASupport(); -#endif + bool haveX11RGBASupport(); TQImage handleRealAlpha(TQImage); void createShadowWindows(const TQWidget* p); void removeShadowWindows(const TQWidget* p); @@ -1963,7 +1961,7 @@ TransparencyHandler::~TransparencyHandler() bool TransparencyHandler::haveX11RGBASupport() { - // Simple way + // Simple way to determine if we have ARGB support if (TQPaintDevice::x11AppDepth() == 32) { return true; } |