From 70a3b6e56e12e4a3ec65118607f5966599191af7 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 c7f6ee2..950d524 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1179,9 +1179,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