diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-04-19 04:34:32 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-04-19 04:34:32 +0000 |
commit | b0abae5b66b2775ba150070b70b639cd88cf62b3 (patch) | |
tree | c16ce7c621bd6f12b30131f2edc08ef87ab2155e /kdesktop/bgmanager.h | |
parent | 387117c2446a397a42698e9d8cfdf9ff1f371c96 (diff) | |
download | tdebase-b0abae5b66b2775ba150070b70b639cd88cf62b3.tar.gz tdebase-b0abae5b66b2775ba150070b70b639cd88cf62b3.zip |
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
Diffstat (limited to 'kdesktop/bgmanager.h')
-rw-r--r-- | kdesktop/bgmanager.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <KBackgroundIface.h> +#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<KVirtualBGRenderer> m_Renderer; QPtrVector<KBackgroundCacheEntry> m_Cache; |