aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2006-07-25 07:20:58 (GMT)
committermarkt <markt>2006-07-25 07:20:58 (GMT)
commit887fea4510e5834197bb70101393fb640a66899a (patch)
treea9b56ca765d1fa7eb8d5af546e2773353cf62231 /src
parent538b630ff217433e6c327980e693d68854010305 (diff)
downloadfluxbox_paul-887fea4510e5834197bb70101393fb640a66899a.zip
fluxbox_paul-887fea4510e5834197bb70101393fb640a66899a.tar.bz2
fix m_background_loaded
Diffstat (limited to 'src')
-rw-r--r--src/RootTheme.hh1
-rw-r--r--src/Screen.cc2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh
index 8bd2841..9b45d60 100644
--- a/src/RootTheme.hh
+++ b/src/RootTheme.hh
@@ -51,6 +51,7 @@ public:
51 51
52 bool fallback(FbTk::ThemeItem_base &item); 52 bool fallback(FbTk::ThemeItem_base &item);
53 void reconfigTheme(); 53 void reconfigTheme();
54 void setLoaded() { m_background_loaded = true; }
54 55
55 GC opGC() const { return m_opgc.gc(); } 56 GC opGC() const { return m_opgc.gc(); }
56 57
diff --git a/src/Screen.cc b/src/Screen.cc
index 0d8937e..7924984 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -884,6 +884,8 @@ void BScreen::reconfigure() {
884 // notify objects that the screen is reconfigured 884 // notify objects that the screen is reconfigured
885 m_reconfigure_sig.notify(); 885 m_reconfigure_sig.notify();
886 886
887 m_root_theme->setLoaded();
888
887 // Reload style 889 // Reload style
888 FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename(), 890 FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename(),
889 fluxbox->getStyleOverlayFilename(), 891 fluxbox->getStyleOverlayFilename(),