summaryrefslogtreecommitdiff
path: root/src/openbox.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.hh')
-rw-r--r--src/openbox.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openbox.hh b/src/openbox.hh
index abdcfef3..83891828 100644
--- a/src/openbox.hh
+++ b/src/openbox.hh
@@ -18,6 +18,7 @@ extern "C" {
#include <vector>
#include <map>
+#include "python.hh"
#include "otk/screeninfo.hh"
#include "otk/timerqueuemanager.hh"
#include "otk/property.hh"
@@ -93,6 +94,7 @@ private:
//! A list of all managed clients
ClientMap _clients;
+ PyObject *_pyclients; // PyDictObject
//! A list of all the managed screens
ScreenList _screens;
@@ -169,6 +171,8 @@ public:
//! Returns the mouse cursors used throughout Openbox
inline const Cursors &cursors() const { return _cursors; }
+ inline PyObject *pyclients() const { return _pyclients; }
+
//! The main function of the Openbox class
/*!
This function should be called after instantiating the Openbox class.