summaryrefslogtreecommitdiffstats
path: root/kdesktop/bgmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/bgmanager.h')
-rw-r--r--kdesktop/bgmanager.h12
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;