summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbox.cc')
-rw-r--r--src/openbox.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/openbox.cc b/src/openbox.cc
index f10db5bc..c5a93eeb 100644
--- a/src/openbox.cc
+++ b/src/openbox.cc
@@ -210,5 +210,22 @@ void Openbox::eventLoop()
}
+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];
+}
+
}