aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-15 18:35:09 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:11:32 (GMT)
commite587b6e72987d3325ddd89d354a2aaec77fb1372 (patch)
tree559fe24de04351142c86d7419de846b5158b1b95 /src/Screen.cc
parente5fb4814ae8946332f6eca6019372e2616701cbf (diff)
downloadfluxbox_paul-e587b6e72987d3325ddd89d354a2aaec77fb1372.zip
fluxbox_paul-e587b6e72987d3325ddd89d354a2aaec77fb1372.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 c8f7801..7e3913a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -387,11 +387,13 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm,
387 // setup image cache engine 387 // setup image cache engine
388 m_image_control.reset(new FbTk::ImageControl(scrn, 388 m_image_control.reset(new FbTk::ImageControl(scrn,
389 fluxbox->colorsPerChannel(), 389 fluxbox->colorsPerChannel(),
390 *fluxbox->getCacheLifeResource(), fluxbox->getCacheMax())); 390 *fluxbox->getCacheLifeResource(), *fluxbox->getCacheMaxResource()));
391 imageControl().installRootColormap(); 391 imageControl().installRootColormap();
392 root_colormap_installed = true; 392 root_colormap_installed = true;
393 m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(), 393 m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(),
394 MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout)); 394 MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout));
395 m_tracker.join(fluxbox->getCacheMaxResource().modifiedSig(),
396 MemFun(imageControl(), &FbTk::ImageControl::setCacheMax));
395 397
396 m_root_theme.reset(new RootTheme(imageControl())); 398 m_root_theme.reset(new RootTheme(imageControl()));
397 m_root_theme->reconfigTheme(); 399 m_root_theme->reconfigTheme();