diff options
author | mathias <mathias> | 2005-10-21 19:23:57 (GMT) |
---|---|---|
committer | mathias <mathias> | 2005-10-21 19:23:57 (GMT) |
commit | f14c73ed3388a4f995b99e4fedddfc09e2df6e63 (patch) | |
tree | 1c147a0ca600c4b3625a2c8ac0fd956260d90ea0 /src/Screen.cc | |
parent | 254dcb1bcc608e7234c26460bd48b4be49913134 (diff) | |
download | fluxbox-f14c73ed3388a4f995b99e4fedddfc09e2df6e63.zip fluxbox-f14c73ed3388a4f995b99e4fedddfc09e2df6e63.tar.bz2 |
Fixed #1223878, Style reloading on USR2 (patch from Zan)
cosmetic stuff in StringUtil.cc/hh
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 4433000..80c382f 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -683,6 +683,7 @@ void BScreen::hideWindowMenus(const FluxboxWindow* except) { | |||
683 | 683 | ||
684 | 684 | ||
685 | void BScreen::reconfigure() { | 685 | void BScreen::reconfigure() { |
686 | Fluxbox *fluxbox = Fluxbox::instance(); | ||
686 | 687 | ||
687 | m_windowtheme->setFocusedAlpha(*resource.focused_alpha); | 688 | m_windowtheme->setFocusedAlpha(*resource.focused_alpha); |
688 | m_windowtheme->setUnfocusedAlpha(*resource.unfocused_alpha); | 689 | m_windowtheme->setUnfocusedAlpha(*resource.unfocused_alpha); |
@@ -786,6 +787,9 @@ void BScreen::reconfigure() { | |||
786 | // notify objects that the screen is reconfigured | 787 | // notify objects that the screen is reconfigured |
787 | m_reconfigure_sig.notify(); | 788 | m_reconfigure_sig.notify(); |
788 | 789 | ||
790 | // Reload style | ||
791 | FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename(), | ||
792 | m_root_theme->screenNum()); | ||
789 | } | 793 | } |
790 | 794 | ||
791 | 795 | ||