From b0abae5b66b2775ba150070b70b639cd88cf62b3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 19 Apr 2010 04:34:32 +0000 Subject: KDEDIR ordering repair Added true transparency support to kdesktop git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1116291 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/bgmanager.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'kdesktop/bgmanager.h') diff --git a/kdesktop/bgmanager.h b/kdesktop/bgmanager.h index 53787e501..455e3a3ad 100644 --- a/kdesktop/bgmanager.h +++ b/kdesktop/bgmanager.h @@ -15,6 +15,10 @@ #include +#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300 +#define COMPOSITE +#endif + class KConfig; class QTimer; class QPixmap; @@ -84,6 +88,10 @@ private slots: void desktopResized(); void clearRoot(); void saveImages(); + +#ifdef COMPOSITE + void slotCmBackgroundChanged(bool); +#endif private: void applyCommon(bool common); @@ -116,6 +124,10 @@ private: QWidget *m_pDesktop; QTimer *m_pTimer; +#ifdef COMPOSITE + KPixmap *m_tPixmap; +#endif + QPtrVector m_Renderer; QPtrVector m_Cache; -- cgit v1.2.1