From 71d3443597d1b1e95b922070d56daa5c8c4e505d Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 8 Aug 2011 13:00:13 +0200 Subject: Don't create a new lua state upon reconfigure As we integrate lua more and more into the core of fluxbox, it's going to progressively harder to update all things that reference to the old state. Furthermore, I would like to completely drop the reconfiguration at some point, after I'm finished with making sure that all resources use the modifiedSig signal to update automatically. --- src/fluxbox.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index a439408..597f28a 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1187,9 +1187,6 @@ BScreen *Fluxbox::findScreen(int id) { } void Fluxbox::reconfigure() { - std::auto_ptr t = m_l; - m_l.reset(new Lua); - m_resourcemanager.setLua(*m_l); load_rc(); STLUtil::forAll(m_screen_list, mem_fun(&BScreen::reconfigure)); } -- cgit v0.11.2