#include "../version.h"
#include "openbox.hh"
+#include "otk/property.hh"
#include "otk/display.hh"
extern "C" {
namespace ob {
-
Openbox *Openbox::instance = (Openbox *) 0;
sigaction(SIGINT, &action, (struct sigaction *) 0);
sigaction(SIGHUP, &action, (struct sigaction *) 0);
-
+ _property = new otk::OBProperty();
+
_state = State_Normal; // done starting
}
}
+void Openbox::addClient(Window window, OBClient *client)
+{
+ _clients[window] = client;
+}
+
+
+void Openbox::removeClient(Window window)
+{
+ _clients[window] = (OBClient *) 0;
+}
+
+
+OBClient *Openbox::findClient(Window window)
+{
+ return _clients[window];
+}
+
}