X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopenbox.hh;h=30dc9f688c50e6289837533dd186697379d551d9;hb=68194ce957db36ead19a39fdc7636a220befafe9;hp=abdcfef386968d922e4a301b285678a82f6a585a;hpb=4e0b5fdef451c605f563d137b024134a68c6d6de;p=chaz%2Fopenbox diff --git a/src/openbox.hh b/src/openbox.hh index abdcfef3..30dc9f68 100644 --- a/src/openbox.hh +++ b/src/openbox.hh @@ -16,8 +16,8 @@ extern "C" { #include #include -#include +#include "python.hh" #include "otk/screeninfo.hh" #include "otk/timerqueuemanager.hh" #include "otk/property.hh" @@ -68,9 +68,6 @@ public: Cursor ur_angle; //!< For resizing the right corner of a window }; - //! A map for looking up a specific client class from the window id - typedef std::map ClientMap; - //! A list of OBScreen classes typedef std::vector ScreenList; @@ -92,7 +89,7 @@ private: char *_argv0; //! A list of all managed clients - ClientMap _clients; + PyDictObject *_clients; //! A list of all the managed screens ScreenList _screens; @@ -169,6 +166,8 @@ public: //! Returns the mouse cursors used throughout Openbox inline const Cursors &cursors() const { return _cursors; } + inline PyDictObject *clients() const { return _clients; } + //! The main function of the Openbox class /*! This function should be called after instantiating the Openbox class.