aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-18 13:53:42 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:23 (GMT)
commit9cbd0dcd0ab6d209a73106eb12e7ca870e408cf8 (patch)
treed95bdd3b2833b88159ad218e1d88f396a4f6346f /src
parent2ec31c864682e10a433e2560118ecef80c4881bb (diff)
downloadfluxbox_pavel-9cbd0dcd0ab6d209a73106eb12e7ca870e408cf8.zip
fluxbox_pavel-9cbd0dcd0ab6d209a73106eb12e7ca870e408cf8.tar.bz2
Attach modifiedSig handlers to session.screenX.menu{Delay,Alpha} resources
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 6d5000b..4b62926 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -432,8 +432,12 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm,
432 MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); 432 MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha));
433 unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); 433 unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha);
434 434
435 m_tracker.join(resource.menu_alpha.modifiedSig(),
436 MemFun(*m_menutheme, &FbTk::MenuTheme::setAlpha));
435 m_menutheme->setAlpha(*resource.menu_alpha); 437 m_menutheme->setAlpha(*resource.menu_alpha);
436 438
439 m_tracker.join(resource.menu_delay.modifiedSig(),
440 MemFun(*m_menutheme, &FbTk::MenuTheme::setDelay));
437 m_menutheme->setDelay(*resource.menu_delay); 441 m_menutheme->setDelay(*resource.menu_delay);
438 442
439 m_tracker.join(focusedWinFrameTheme()->reconfigSig(), 443 m_tracker.join(focusedWinFrameTheme()->reconfigSig(),
@@ -838,10 +842,6 @@ BScreen::addExtraWindowMenu(const FbTk::FbString &label, const FbTk::RefCount<Fb
838} 842}
839 843
840void BScreen::reconfigure() { 844void BScreen::reconfigure() {
841 m_menutheme->setAlpha(*resource.menu_alpha);
842
843 m_menutheme->setDelay(*resource.menu_delay);
844
845 // realize the number of workspaces from the init-file 845 // realize the number of workspaces from the init-file
846 const unsigned int nr_ws = *resource.workspaces; 846 const unsigned int nr_ws = *resource.workspaces;
847 while(nr_ws > m_workspaces_list.size()) 847 while(nr_ws > m_workspaces_list.size())