diff options
Diffstat (limited to 'src')
-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 8f1fcef..6d5000b 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -424,8 +424,14 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm, | |||
424 | m_root_theme.reset(new RootTheme(imageControl())); | 424 | m_root_theme.reset(new RootTheme(imageControl())); |
425 | m_root_theme->reconfigTheme(); | 425 | m_root_theme->reconfigTheme(); |
426 | 426 | ||
427 | m_tracker.join(resource.focused_alpha.modifiedSig(), | ||
428 | MemFun(*focusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); | ||
427 | focusedWinFrameTheme()->setAlpha(*resource.focused_alpha); | 429 | focusedWinFrameTheme()->setAlpha(*resource.focused_alpha); |
430 | |||
431 | m_tracker.join(resource.unfocused_alpha.modifiedSig(), | ||
432 | MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); | ||
428 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); | 433 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); |
434 | |||
429 | m_menutheme->setAlpha(*resource.menu_alpha); | 435 | m_menutheme->setAlpha(*resource.menu_alpha); |
430 | 436 | ||
431 | m_menutheme->setDelay(*resource.menu_delay); | 437 | m_menutheme->setDelay(*resource.menu_delay); |
@@ -832,8 +838,6 @@ BScreen::addExtraWindowMenu(const FbTk::FbString &label, const FbTk::RefCount<Fb | |||
832 | } | 838 | } |
833 | 839 | ||
834 | void BScreen::reconfigure() { | 840 | void BScreen::reconfigure() { |
835 | focusedWinFrameTheme()->setAlpha(*resource.focused_alpha); | ||
836 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); | ||
837 | m_menutheme->setAlpha(*resource.menu_alpha); | 841 | m_menutheme->setAlpha(*resource.menu_alpha); |
838 | 842 | ||
839 | m_menutheme->setDelay(*resource.menu_delay); | 843 | m_menutheme->setDelay(*resource.menu_delay); |