summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-11 03:27:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-11 03:27:08 +0000
commit356e5c30a8bf03e240f9a79043bcfc25c2f72494 (patch)
tree059250e4b6a3aeaec8017c6fad67dd8c32ddbeba /kdecore/kapplication.h
parentc2d4c28eba60ca80b4d681e7b2df71509afc1ac3 (diff)
downloadtdelibs-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.h')
-rw-r--r--kdecore/kapplication.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/kdecore/kapplication.h b/kdecore/kapplication.h
index 00a6429da..9558d528e 100644
--- a/kdecore/kapplication.h
+++ b/kdecore/kapplication.h
@@ -48,8 +48,6 @@ class KSessionManaged;
class KStyle;
class KURL;
-#define COMPOSITE // [FIXME] Autodetect composition support
-
#define kapp KApplication::kApplication()
class KApplicationPrivate;
@@ -866,13 +864,14 @@ public:
*/
TQString checkRecoverFile( const TQString& pFilename, bool& bRecover ) const;
-#if defined(Q_WS_X11) && defined(COMPOSITE)
+#if defined(Q_WS_X11)
/**
* @internal
* Get the X11 display
* @return the X11 Display
*/
Display *getDisplay() { return display; }
+#endif
/**
* @internal
@@ -904,7 +903,6 @@ public:
* @return the X11 display handle
*/
Display *openX11RGBADisplay();
-#endif
/**
* @internal
@@ -1281,7 +1279,7 @@ private:
void initUrlActionRestrictions();
bool argb_visual;
-#if defined(Q_WS_X11) && defined(COMPOSITE)
+#if defined(Q_WS_X11)
Qt::HANDLE argb_x11_visual;
Qt::HANDLE argb_x11_colormap;
#endif