From a858a60ea60eb5e3f601256b403843761c1ae42a 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 f76c31c..5254296 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1178,9 +1178,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