aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-08 11:00:13 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:26 (GMT)
commit71d3443597d1b1e95b922070d56daa5c8c4e505d (patch)
tree58840fde42c6222710de899b37b872c0b98f9429 /src
parent5db77881da1cc861c0cd6bd426fd7a9931c9e44b (diff)
downloadfluxbox_pavel-71d3443597d1b1e95b922070d56daa5c8c4e505d.zip
fluxbox_pavel-71d3443597d1b1e95b922070d56daa5c8c4e505d.tar.bz2
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.
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc3
1 files changed, 0 insertions, 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) {
1187} 1187}
1188 1188
1189void Fluxbox::reconfigure() { 1189void Fluxbox::reconfigure() {
1190 std::auto_ptr<FbTk::Lua> t = m_l;
1191 m_l.reset(new Lua);
1192 m_resourcemanager.setLua(*m_l);
1193 load_rc(); 1190 load_rc();
1194 STLUtil::forAll(m_screen_list, mem_fun(&BScreen::reconfigure)); 1191 STLUtil::forAll(m_screen_list, mem_fun(&BScreen::reconfigure));
1195} 1192}