diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-27 17:34:23 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2013-02-17 00:09:34 (GMT) |
commit | 74532a72a511ae5243bca776c20797b328aa89eb (patch) | |
tree | cd69e80c181d38b4c2c794af03a38271ac0dc269 | |
parent | abce43783292f61fa5d21da3a924fb05fd625165 (diff) | |
download | fluxbox_pavel-74532a72a511ae5243bca776c20797b328aa89eb.zip fluxbox_pavel-74532a72a511ae5243bca776c20797b328aa89eb.tar.bz2 |
Add accessor for the lua state of Fluxbox class
-rw-r--r-- | src/fluxbox.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 97ea211..e744260 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh | |||
@@ -173,6 +173,8 @@ 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; } | ||
177 | |||
176 | typedef std::list<BScreen *> ScreenList; | 178 | typedef std::list<BScreen *> ScreenList; |
177 | const ScreenList screenList() const { return m_screen_list; } | 179 | const ScreenList screenList() const { return m_screen_list; } |
178 | 180 | ||