summaryrefslogtreecommitdiff
path: root/src/openbox.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-06 08:06:54 +0000
committerDana Jansens <danakj@orodu.net>2002-11-06 08:06:54 +0000
commitd363f720a6b0d1c361bc2022d0e5fcd5a75fd04d (patch)
tree468da3f0e2c52fb761cf3a89c6766dee6d15f45c /src/openbox.cc
parentd3b7c84d4c640face48dfb54d70de2bff1551429 (diff)
fix compiling with the new strut (new namespace)
and fix general errors that broke compiling. make xeventhandler find the OBClient for most events..
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];
+}
+
}