diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-08 22:32:22 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:57:21 (GMT) |
commit | 9f84eb3c7b18e3a1f6ec6e0f1f3fd181a496e25c (patch) | |
tree | fb4e896f45eb451d05c64a58b46b490f9a410d36 /src/FbTk/ResTraits.hh | |
parent | b8a7503a30a06f53e0cfbc602b210bea1b49ec82 (diff) | |
download | fluxbox_pavel-9f84eb3c7b18e3a1f6ec6e0f1f3fd181a496e25c.zip fluxbox_pavel-9f84eb3c7b18e3a1f6ec6e0f1f3fd181a496e25c.tar.bz2 |
Lua: Make global variables read-only
This prevents the user from inadvertently overwriting e.g. the session table and then wondering
why it does not work. I'm still not sure about this approach, as it's not 100% secure (the script
can still use raw access to mess with it) and it adds some overhead to any operation referencing
a global variable.
Diffstat (limited to 'src/FbTk/ResTraits.hh')
0 files changed, 0 insertions, 0 deletions