From 74532a72a511ae5243bca776c20797b328aa89eb Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 27 Jun 2011 19:34:23 +0200 Subject: Add accessor for the lua state of Fluxbox class --- src/fluxbox.hh | 2 ++ 1 file changed, 2 insertions(+) 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: /// get screen from number BScreen *findScreen(int num); + lua::state &lua() { return *m_l; } + typedef std::list ScreenList; const ScreenList screenList() const { return m_screen_list; } -- cgit v0.11.2