aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-15 18:35:09 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:22 (GMT)
commit996ad8d5cbba7b547e961362bbf549c98f28089f (patch)
tree18cdb841aaebe3e857d37e19cb870d9ae347ce61 /src/Screen.cc
parenteec6f0be03a95d7c108e4acce73c72bc575db260 (diff)
downloadfluxbox_pavel-996ad8d5cbba7b547e961362bbf549c98f28089f.zip
fluxbox_pavel-996ad8d5cbba7b547e961362bbf549c98f28089f.tar.bz2
Attach a modifiedSig handler to the session.cacheMax 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 e3e6fce..931b356 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -413,11 +413,13 @@ 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->getCacheLifeResource(), fluxbox->getCacheMax())); 416 *fluxbox->getCacheLifeResource(), *fluxbox->getCacheMaxResource()));
417 imageControl().installRootColormap(); 417 imageControl().installRootColormap();
418 root_colormap_installed = true; 418 root_colormap_installed = true;
419 m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(), 419 m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(),
420 MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout)); 420 MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout));
421 m_tracker.join(fluxbox->getCacheMaxResource().modifiedSig(),
422 MemFun(imageControl(), &FbTk::ImageControl::setCacheMax));
421 423
422 m_root_theme.reset(new RootTheme(imageControl())); 424 m_root_theme.reset(new RootTheme(imageControl()));
423 m_root_theme->reconfigTheme(); 425 m_root_theme->reconfigTheme();