all repos — fluxbox @ 2045fcca4913f47dd68f86c4f0660927c74e3e00

custom fork of the fluxbox windowmanager

add and remove functions
fluxgen fluxgen
commit

2045fcca4913f47dd68f86c4f0660927c74e3e00

parent

c8aff5576a187f3921a0db998cd5a47173b28742

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/FbTk/EventManager.hhsrc/FbTk/EventManager.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: EventManager.hh,v 1.2 2002/12/01 13:42:14 rathnor Exp $ +// $Id: EventManager.hh,v 1.3 2002/12/02 19:36:58 fluxgen Exp $ #include "EventHandler.hh" #include <map>

@@ -34,7 +34,8 @@ public:

static EventManager *instance(); void handleEvent(XEvent &ev); - + void add(EventHandler &ev, Window win) { registerEventHandler(ev, win); } + void remove(Window win) { unregisterEventHandler(win); } void registerEventHandler(EventHandler &ev, Window win); void unregisterEventHandler(Window win); private: