summaryrefslogtreecommitdiffstats
path: root/kdefx/kstyle.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-16 01:10:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-16 01:10:37 +0000
commit7f6ca4f00f74d7c5fe4942c897a3836b0c67bf69 (patch)
tree8ccbd6228e866f1c953dd4130d912f135fdd7f30 /kdefx/kstyle.cpp
parentffc0e2b642ced61bea304bb3008fa53fe22e17b6 (diff)
downloadtdelibs-7f6ca4f00f74d7c5fe4942c897a3836b0c67bf69.tar.gz
tdelibs-7f6ca4f00f74d7c5fe4942c897a3836b0c67bf69.zip
Fix FTBFS when composite extension is not available
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1247458 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdefx/kstyle.cpp')
-rw-r--r--kdefx/kstyle.cpp6
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;
}