diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
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 | ||
752 | void BScreen::update(FbTk::Subject *subj) { | 753 | void 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 | ||