aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-08 13:35:42 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:57:21 (GMT)
commitdbc29ae953ab73b9cdd2a13dbe17a1eb0a8c863a (patch)
tree0ad775057cef0499f1e02d0946ecb2ac52cf3eed /src/fluxbox.hh
parentb3bd3805961c05776c7f398ce98082effebd8ca2 (diff)
downloadfluxbox_pavel-dbc29ae953ab73b9cdd2a13dbe17a1eb0a8c863a.zip
fluxbox_pavel-dbc29ae953ab73b9cdd2a13dbe17a1eb0a8c863a.tar.bz2
use Lua::registerInitFunction to simplify some parts of code
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index e027660..c241fb7 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -173,7 +173,7 @@ public:
173 /// get screen from number 173 /// get screen from number
174 BScreen *findScreen(int num); 174 BScreen *findScreen(int num);
175 175
176 lua::state &lua() { return *m_l; } 176 FbTk::Lua& lua() { return *m_l; }
177 177
178 typedef std::list<BScreen *> ScreenList; 178 typedef std::list<BScreen *> ScreenList;
179 const ScreenList screenList() const { return m_screen_list; } 179 const ScreenList screenList() const { return m_screen_list; }
@@ -226,7 +226,7 @@ private:
226 /// Called when a window layer changes 226 /// Called when a window layer changes
227 void windowLayerChanged(FluxboxWindow &win); 227 void windowLayerChanged(FluxboxWindow &win);
228 228
229 std::auto_ptr<lua::state> m_l; 229 std::auto_ptr<FbTk::Lua> m_l;
230 std::auto_ptr<FbAtoms> m_fbatoms; 230 std::auto_ptr<FbAtoms> m_fbatoms;
231 231
232 FbTk::LResourceManager m_resourcemanager; 232 FbTk::LResourceManager m_resourcemanager;