From d363f720a6b0d1c361bc2022d0e5fcd5a75fd04d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 6 Nov 2002 08:06:54 +0000 Subject: fix compiling with the new strut (new namespace) and fix general errors that broke compiling. make xeventhandler find the OBClient for most events.. --- src/openbox.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/openbox.cc') 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]; +} + } -- cgit v1.2.3