aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-27 17:34:23 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:57:20 (GMT)
commita247a342e6c352dfdb0bb16726a496a807065cda (patch)
tree4aa86d0298b17130dd12ca1a8f445ab5cfc567d5
parentee88557532d31c8fd8c05abe368b53170fde7b8c (diff)
downloadfluxbox_pavel-a247a342e6c352dfdb0bb16726a496a807065cda.zip
fluxbox_pavel-a247a342e6c352dfdb0bb16726a496a807065cda.tar.bz2
Add accessor for the lua state of Fluxbox class
-rw-r--r--src/fluxbox.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index e7d2d68..e027660 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