From 588afe41b08df6aa5e8f2f2d92431ad600ecc7db 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 9e40f1f..f655f7e 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1233,9 +1233,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