diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index c883202..db16723 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -398,8 +398,14 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm, | |||
398 | m_root_theme.reset(new RootTheme(imageControl())); | 398 | m_root_theme.reset(new RootTheme(imageControl())); |
399 | m_root_theme->reconfigTheme(); | 399 | m_root_theme->reconfigTheme(); |
400 | 400 | ||
401 | m_tracker.join(resource.focused_alpha.modifiedSig(), | ||
402 | MemFun(*focusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); | ||
401 | focusedWinFrameTheme()->setAlpha(*resource.focused_alpha); | 403 | focusedWinFrameTheme()->setAlpha(*resource.focused_alpha); |
404 | |||
405 | m_tracker.join(resource.unfocused_alpha.modifiedSig(), | ||
406 | MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); | ||
402 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); | 407 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); |
408 | |||
403 | m_menutheme->setAlpha(*resource.menu_alpha); | 409 | m_menutheme->setAlpha(*resource.menu_alpha); |
404 | 410 | ||
405 | m_menutheme->setDelay(*resource.menu_delay); | 411 | m_menutheme->setDelay(*resource.menu_delay); |
@@ -809,8 +815,6 @@ BScreen::addExtraWindowMenu(const FbTk::FbString &label, const FbTk::RefCount<Fb | |||
809 | } | 815 | } |
810 | 816 | ||
811 | void BScreen::reconfigure() { | 817 | void BScreen::reconfigure() { |
812 | focusedWinFrameTheme()->setAlpha(*resource.focused_alpha); | ||
813 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); | ||
814 | m_menutheme->setAlpha(*resource.menu_alpha); | 818 | m_menutheme->setAlpha(*resource.menu_alpha); |
815 | 819 | ||
816 | m_menutheme->setDelay(*resource.menu_delay); | 820 | m_menutheme->setDelay(*resource.menu_delay); |