aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-14 12:56:25 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:22 (GMT)
commit295bb1919bc748d369eb8b5597c1cd12577d3176 (patch)
treeb7782bada32a49febe4dc275216629e3528249bd /src/Screen.cc
parent4ea546a91e7188ad6a95931637b7b928abd38342 (diff)
downloadfluxbox_pavel-295bb1919bc748d369eb8b5597c1cd12577d3176.zip
fluxbox_pavel-295bb1919bc748d369eb8b5597c1cd12577d3176.tar.bz2
Attach a modifiedSig handler to the session.cacheLife resource
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 6e74d88..e3e6fce 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -413,9 +413,11 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm,
413 // setup image cache engine 413 // setup image cache engine
414 m_image_control.reset(new FbTk::ImageControl(scrn, 414 m_image_control.reset(new FbTk::ImageControl(scrn,
415 fluxbox->colorsPerChannel(), 415 fluxbox->colorsPerChannel(),
416 fluxbox->getCacheLife(), fluxbox->getCacheMax())); 416 *fluxbox->getCacheLifeResource(), fluxbox->getCacheMax()));
417 imageControl().installRootColormap(); 417 imageControl().installRootColormap();
418 root_colormap_installed = true; 418 root_colormap_installed = true;
419 m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(),
420 MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout));
419 421
420 m_root_theme.reset(new RootTheme(imageControl())); 422 m_root_theme.reset(new RootTheme(imageControl()));
421 m_root_theme->reconfigTheme(); 423 m_root_theme->reconfigTheme();