aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-01-06 19:03:33 (GMT)
committermarkt <markt>2007-01-06 19:03:33 (GMT)
commit94e2c89053325beeb9f79d2e682adf614f636ca8 (patch)
treeb778a387684ef8baef35e318c75de1810408a7f4 /src/fluxbox.cc
parent8db2d4f26eae2d608e864aabf6218ad461c4da6b (diff)
downloadfluxbox_pavel-94e2c89053325beeb9f79d2e682adf614f636ca8.zip
fluxbox_pavel-94e2c89053325beeb9f79d2e682adf614f636ca8.tar.bz2
make "force pseudotransparency" menu item work immediately
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index a8290e5..723c6e0 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1569,8 +1569,7 @@ void Fluxbox::load_rc() {
1569 if (m_rc_menufile->empty()) 1569 if (m_rc_menufile->empty())
1570 m_rc_menufile.setDefaultValue(); 1570 m_rc_menufile.setDefaultValue();
1571 1571
1572 if (FbTk::Transparent::haveComposite()) 1572 FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
1573 FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
1574 1573
1575 if (!m_rc_slitlistfile->empty()) { 1574 if (!m_rc_slitlistfile->empty()) {
1576 *m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile); 1575 *m_rc_slitlistfile = StringUtil::expandFilename(*m_rc_slitlistfile);
@@ -1670,6 +1669,8 @@ void Fluxbox::reconfigure() {
1670 1669
1671void Fluxbox::real_reconfigure() { 1670void Fluxbox::real_reconfigure() {
1672 1671
1672 FbTk::Transparent::usePseudoTransparent(*m_rc_pseudotrans);
1673
1673 ScreenList::iterator screen_it = m_screen_list.begin(); 1674 ScreenList::iterator screen_it = m_screen_list.begin();
1674 ScreenList::iterator screen_it_end = m_screen_list.end(); 1675 ScreenList::iterator screen_it_end = m_screen_list.end();
1675 for (; screen_it != screen_it_end; ++screen_it) 1676 for (; screen_it != screen_it_end; ++screen_it)