aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-08 13:35:42 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-07-08 13:36:58 (GMT)
commit429ba7977a56e9cadf8f745d0f8908a189a830da (patch)
tree36b5b7d834fc5f5988d14f51fe75159977765047 /src/fluxbox.cc
parent613df819d690dbe8cdec97457bcf538e980093ae (diff)
downloadfluxbox_pavel-429ba7977a56e9cadf8f745d0f8908a189a830da.zip
fluxbox_pavel-429ba7977a56e9cadf8f745d0f8908a189a830da.tar.bz2
use Lua::registerInitFunction to simplify some parts of code
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 88038c9..7c2147c 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"
@@ -232,7 +233,7 @@ Fluxbox::Fluxbox(int argc, char **argv,
232 const std::string& dpy_name, 233 const std::string& dpy_name,
233 const std::string& rc_path, const std::string& rc_filename, bool xsync) 234 const std::string& rc_path, const std::string& rc_filename, bool xsync)
234 : FbTk::App(dpy_name.c_str()), 235 : FbTk::App(dpy_name.c_str()),
235 m_l(new lua::state()), 236 m_l(new Lua),
236 m_fbatoms(FbAtoms::instance()), 237 m_fbatoms(FbAtoms::instance()),
237 m_resourcemanager("session", *m_l), 238 m_resourcemanager("session", *m_l),
238 239