From 7a2e83f9d25cf3380dceaa0c46b39e68fbbf9574 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 23 Mar 2004 09:19:57 +0000 Subject: reload screen resources at real_reconfigure --- src/fluxbox.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index d32840a..2300002 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.235 2004/03/21 09:00:25 rathnor Exp $ +// $Id: fluxbox.cc,v 1.236 2004/03/23 09:19:57 fluxgen Exp $ #include "fluxbox.hh" @@ -1771,6 +1771,11 @@ void Fluxbox::real_reconfigure() { if (old_blackboxrc) XrmDestroyDatabase(old_blackboxrc); + ScreenList::iterator screen_it = m_screen_list.begin(); + const ScreenList::const_iterator screen_it_end = m_screen_list.end(); + for (; screen_it != screen_it_end; ++screen_it) + load_rc(*(*screen_it)); + // reconfigure all screens for_each(m_screen_list.begin(), m_screen_list.end(), mem_fun(&BScreen::reconfigure)); -- cgit v0.11.2