diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-11 03:27:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-11 03:27:08 +0000 |
commit | 356e5c30a8bf03e240f9a79043bcfc25c2f72494 (patch) | |
tree | 059250e4b6a3aeaec8017c6fad67dd8c32ddbeba /kdecore/kapplication.cpp | |
parent | c2d4c28eba60ca80b4d681e7b2df71509afc1ac3 (diff) | |
download | tdelibs-356e5c30a8bf03e240f9a79043bcfc25c2f72494.tar.gz tdelibs-356e5c30a8bf03e240f9a79043bcfc25c2f72494.zip |
Fix composite extension auto detection
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246278 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.cpp')
-rw-r--r-- | kdecore/kapplication.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp index 7986079f4..5606b54fa 100644 --- a/kdecore/kapplication.cpp +++ b/kdecore/kapplication.cpp @@ -20,6 +20,10 @@ #include "config.h" +#ifdef HAVE_XCOMPOSITE +#define COMPOSITE +#endif + // #ifdef QTRANSLATOR_H // #error qtranslator.h was already included // #endif // QTRANSLATOR_H @@ -1910,6 +1914,21 @@ KApplication KApplication::KARGBApplicationObject( bool allowStyles ) { } } #else +void KApplication::getX11RGBAInformation(Display *dpy) { +} + +bool KApplication::isCompositionManagerAvailable() { + return false; +} + +bool KApplication::detectCompositionManagerAvailable(bool force_available) { + return false; +} + +Display* KApplication::openX11RGBADisplay() { + return 0; +} + Qt::HANDLE KApplication::getX11RGBAVisual(char *display) { return 0; } |