fix m_background_loaded

This commit is contained in:
markt 2006-07-25 07:20:58 +00:00
parent 538b630ff2
commit 887fea4510
3 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,9 @@
(Format: Year/Month/Day)
Changes for 1.0rc3:
*06/07/25:
* Fix background style item so that it works when the previous style
didn't have one set (Mark)
Screen.cc RootTheme.hh
*06/07/23:
* Use a timer to make sure focus always reverts if possible (Mark)
fluxbox.cc/hh and reverse patch from 06/07/20

View file

@ -51,6 +51,7 @@ public:
bool fallback(FbTk::ThemeItem_base &item);
void reconfigTheme();
void setLoaded() { m_background_loaded = true; }
GC opGC() const { return m_opgc.gc(); }

View file

@ -884,6 +884,8 @@ void BScreen::reconfigure() {
// notify objects that the screen is reconfigured
m_reconfigure_sig.notify();
m_root_theme->setLoaded();
// Reload style
FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename(),
fluxbox->getStyleOverlayFilename(),