diff options
author | markt <markt> | 2007-01-06 19:03:33 (GMT) |
---|---|---|
committer | markt <markt> | 2007-01-06 19:03:33 (GMT) |
commit | 94e2c89053325beeb9f79d2e682adf614f636ca8 (patch) | |
tree | b778a387684ef8baef35e318c75de1810408a7f4 /src/fluxbox.cc | |
parent | 8db2d4f26eae2d608e864aabf6218ad461c4da6b (diff) | |
download | fluxbox-94e2c89053325beeb9f79d2e682adf614f636ca8.zip fluxbox-94e2c89053325beeb9f79d2e682adf614f636ca8.tar.bz2 |
make "force pseudotransparency" menu item work immediately
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 5 |
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 | ||
1671 | void Fluxbox::real_reconfigure() { | 1670 | void 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) |