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
v3.5.13-sru
tpearson 13 years ago
parent ffc0e2b642
commit 7f6ca4f00f

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

Loading…
Cancel
Save