diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-06 08:06:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-06 08:06:54 +0000 |
| commit | d363f720a6b0d1c361bc2022d0e5fcd5a75fd04d (patch) | |
| tree | 468da3f0e2c52fb761cf3a89c6766dee6d15f45c /src/openbox.cc | |
| parent | d3b7c84d4c640face48dfb54d70de2bff1551429 (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.cc | 17 |
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]; +} + } |
