aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-08-08 11:00:13 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-08-08 11:44:04 (GMT)
commit70a3b6e56e12e4a3ec65118607f5966599191af7 (patch)
tree8692486da0561552ed75c810179ab3fd04b9a3f6 /src/fluxbox.cc
parentaf87e02d4a2440b7f8e028c3c2993c7c34bf54b4 (diff)
downloadfluxbox_pavel-70a3b6e56e12e4a3ec65118607f5966599191af7.zip
fluxbox_pavel-70a3b6e56e12e4a3ec65118607f5966599191af7.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/fluxbox.cc')
-rw-r--r--src/fluxbox.cc3
1 files changed, 0 insertions, 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) {
1179} 1179}
1180 1180
1181void Fluxbox::reconfigure() { 1181void Fluxbox::reconfigure() {
1182 std::auto_ptr<FbTk::Lua> t = m_l;
1183 m_l.reset(new Lua);
1184 m_resourcemanager.setLua(*m_l);
1185 load_rc(); 1182 load_rc();
1186 STLUtil::forAll(m_screen_list, mem_fun(&BScreen::reconfigure)); 1183 STLUtil::forAll(m_screen_list, mem_fun(&BScreen::reconfigure));
1187} 1184}