summaryrefslogtreecommitdiffstats
path: root/kdesktop/bgmanager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop/bgmanager.cc')
-rw-r--r--kdesktop/bgmanager.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/kdesktop/bgmanager.cc b/kdesktop/bgmanager.cc
index bbcb7bf23..19d24870c 100644
--- a/kdesktop/bgmanager.cc
+++ b/kdesktop/bgmanager.cc
@@ -59,9 +59,20 @@ extern KDesktopApp *myApp;
/**** KBackgroundManager ****/
+KBackgroundManager::KBackgroundManager()
+ : DCOPObject("KBackgroundIface")
+{
+ // Everything will be initialized later
+}
+
KBackgroundManager::KBackgroundManager(TQWidget *desktop, KWinModule* kwinModule)
: DCOPObject("KBackgroundIface")
{
+ initializeManager(desktop, kwinModule);
+}
+
+void KBackgroundManager::initializeManager(TQWidget *desktop, KWinModule* kwinModule)
+{
if( !properties_inited )
{
prop_root = XInternAtom(qt_xdisplay(), "_XROOTPMAP_ID", False);