diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
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(); |