summaryrefslogtreecommitdiff
path: root/src/openbox.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-20 15:38:49 +0000
committerDana Jansens <danakj@orodu.net>2002-12-20 15:38:49 +0000
commit68194ce957db36ead19a39fdc7636a220befafe9 (patch)
treec405d332e6189babdb2ffc055a075cb718176f17 /src/openbox.hh
parent06de24ec6666578759eff2b348e50f5e8e20f3bd (diff)
update to cleaned up otk api
Diffstat (limited to 'src/openbox.hh')
-rw-r--r--src/openbox.hh9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/openbox.hh b/src/openbox.hh
index e929f122..30dc9f68 100644
--- a/src/openbox.hh
+++ b/src/openbox.hh
@@ -16,7 +16,6 @@ extern "C" {
#include <string>
#include <vector>
-#include <map>
#include "python.hh"
#include "otk/screeninfo.hh"
@@ -69,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<Window, OBClient *> ClientMap;
-
//! A list of OBScreen classes
typedef std::vector<OBScreen *> ScreenList;
@@ -93,8 +89,7 @@ private:
char *_argv0;
//! A list of all managed clients
- ClientMap _clients;
- PyDictObject *_pyclients;
+ PyDictObject *_clients;
//! A list of all the managed screens
ScreenList _screens;
@@ -171,7 +166,7 @@ public:
//! Returns the mouse cursors used throughout Openbox
inline const Cursors &cursors() const { return _cursors; }
- inline PyDictObject *pyclients() const { return _pyclients; }
+ inline PyDictObject *clients() const { return _clients; }
//! The main function of the Openbox class
/*!