aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-04-29 08:52:28 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:45 (GMT)
commitf7d7dfd2a8047207dbe90bc77592c25acf4ca15c (patch)
tree46eb8596d15fb0450f07e3e5d58e2c5449c4c020 /src/Screen.cc
parent54230c9a4474baf4f1c56773992212093e222349 (diff)
downloadfluxbox-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.zip
fluxbox-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.tar.bz2
Convert FbTk::Theme::reconfigSig and friends to the new Signal system
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index a8eca72..ce1f8ed 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -435,7 +435,8 @@ BScreen::BScreen(FbTk::ResourceManager &rm,
435 435
436 m_menutheme->setDelay(*resource.menu_delay); 436 m_menutheme->setDelay(*resource.menu_delay);
437 437
438 focusedWinFrameTheme()->reconfigSig().attach(this);// for geom window 438 m_tracker.join(focusedWinFrameTheme()->reconfigSig(),
439 FbTk::MemFun(*this, &BScreen::focusedWinFrameThemeReconfigured));
439 440
440 441
441 renderGeomWindow(); 442 renderGeomWindow();
@@ -749,10 +750,7 @@ unsigned int BScreen::maxBottom(int head) const {
749 return doFullMax() ? height() : height() - availableWorkspaceArea(head)->bottom(); 750 return doFullMax() ? height() : height() - availableWorkspaceArea(head)->bottom();
750} 751}
751 752
752void BScreen::update(FbTk::Subject *subj) { 753void BScreen::focusedWinFrameThemeReconfigured() {
753 // for now we're only listening to the theme sig, so no object check
754 // if another signal is added later, will need to differentiate here
755
756 renderGeomWindow(); 754 renderGeomWindow();
757 renderPosWindow(); 755 renderPosWindow();
758 756