aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index db16723..29545c2 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -406,8 +406,12 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm,
406 MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); 406 MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha));
407 unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); 407 unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha);
408 408
409 m_tracker.join(resource.menu_alpha.modifiedSig(),
410 MemFun(*m_menutheme, &FbTk::MenuTheme::setAlpha));
409 m_menutheme->setAlpha(*resource.menu_alpha); 411 m_menutheme->setAlpha(*resource.menu_alpha);
410 412
413 m_tracker.join(resource.menu_delay.modifiedSig(),
414 MemFun(*m_menutheme, &FbTk::MenuTheme::setDelay));
411 m_menutheme->setDelay(*resource.menu_delay); 415 m_menutheme->setDelay(*resource.menu_delay);
412 416
413 m_tracker.join(focusedWinFrameTheme()->reconfigSig(), 417 m_tracker.join(focusedWinFrameTheme()->reconfigSig(),
@@ -815,10 +819,6 @@ BScreen::addExtraWindowMenu(const FbTk::FbString &label, const FbTk::RefCount<Fb
815} 819}
816 820
817void BScreen::reconfigure() { 821void BScreen::reconfigure() {
818 m_menutheme->setAlpha(*resource.menu_alpha);
819
820 m_menutheme->setDelay(*resource.menu_delay);
821
822 // realize the number of workspaces from the init-file 822 // realize the number of workspaces from the init-file
823 const unsigned int nr_ws = *resource.workspaces; 823 const unsigned int nr_ws = *resource.workspaces;
824 while(nr_ws > m_workspaces_list.size()) 824 while(nr_ws > m_workspaces_list.size())