diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-08 13:35:42 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2013-02-17 09:36:38 (GMT) |
commit | 084d43e7901efc121f48cb8bd838579ca916bef0 (patch) | |
tree | 4832f88b0eb951b9efbb785b851597cfd0368a7d /src/fluxbox.cc | |
parent | 7ea91f6e9974e210a2002de339074bb9e5ac3a48 (diff) | |
download | fluxbox_pavel-084d43e7901efc121f48cb8bd838579ca916bef0.zip fluxbox_pavel-084d43e7901efc121f48cb8bd838579ca916bef0.tar.bz2 |
use Lua::registerInitFunction to simplify some parts of code
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 86171ad..7bec04b 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -43,6 +43,7 @@ | |||
43 | #include "FbTk/FileUtil.hh" | 43 | #include "FbTk/FileUtil.hh" |
44 | #include "FbTk/ImageControl.hh" | 44 | #include "FbTk/ImageControl.hh" |
45 | #include "FbTk/EventManager.hh" | 45 | #include "FbTk/EventManager.hh" |
46 | #include "FbTk/LuaUtil.hh" | ||
46 | #include "FbTk/StringUtil.hh" | 47 | #include "FbTk/StringUtil.hh" |
47 | #include "FbTk/Util.hh" | 48 | #include "FbTk/Util.hh" |
48 | #include "FbTk/LResource.hh" | 49 | #include "FbTk/LResource.hh" |
@@ -236,7 +237,7 @@ Fluxbox::Fluxbox(int argc, char **argv, | |||
236 | const std::string& dpy_name, | 237 | const std::string& dpy_name, |
237 | const std::string& rc_path, const std::string& rc_filename, bool xsync) | 238 | const std::string& rc_path, const std::string& rc_filename, bool xsync) |
238 | : FbTk::App(dpy_name.c_str()), | 239 | : FbTk::App(dpy_name.c_str()), |
239 | m_l(new lua::state()), | 240 | m_l(new Lua), |
240 | m_fbatoms(FbAtoms::instance()), | 241 | m_fbatoms(FbAtoms::instance()), |
241 | m_resourcemanager("session", *m_l), | 242 | m_resourcemanager("session", *m_l), |
242 | 243 | ||