aboutsummaryrefslogtreecommitdiff
path: root/nls
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-30 10:21:53 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-18 21:04:25 (GMT)
commit54ed350776d4f78de9aabb0273f085aa7c2ce124 (patch)
tree994cd8b01e4423c3e535b54a41e30238fce1b10b /nls
parentfe7a9bf5b0d59d25ef87ca6ccf47e40055596b84 (diff)
downloadfluxbox_pavel-54ed350776d4f78de9aabb0273f085aa7c2ce124.zip
fluxbox_pavel-54ed350776d4f78de9aabb0273f085aa7c2ce124.tar.bz2
Create a completely new lua state upon USR2 reconfigure
This way, global variables set by the scripts don't persist between hard reconfigures. I also cleaned up the reconfig-handling code in fluxbox.cc. Instead of three reconfig functions (real_reconfig, timed_reconfig, reconfig) we have just one.
Diffstat (limited to 'nls')
-rw-r--r--nls/fluxbox-nls.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/nls/fluxbox-nls.hh b/nls/fluxbox-nls.hh
index a218ea9..023d229 100644
--- a/nls/fluxbox-nls.hh
+++ b/nls/fluxbox-nls.hh
@@ -131,6 +131,8 @@ enum {
131 KeysBadLine = 1, 131 KeysBadLine = 1,
132 KeysBadMerge = 2, 132 KeysBadMerge = 2,
133 KeysInvalidKeyMod = 3, 133 KeysInvalidKeyMod = 3,
134 KeysBad3rdArg = 4,
135 KeysLoadError = 5,
134 136
135 MenuSet = 10, 137 MenuSet = 10,
136 MenuConfiguration = 1, 138 MenuConfiguration = 1,