diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-02 21:06:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-02 21:06:16 +0000 |
| commit | 74cb09bb2cc4832463a57743b1495eef24237d2a (patch) | |
| tree | 2c4e9903b52ecd3f508d9e847a768517054ae247 /src/client.hh | |
| parent | 1eb79b9a0d75f057a85d1a5d91658a3f96ae8152 (diff) | |
handle map events with the Openbox class
Diffstat (limited to 'src/client.hh')
| -rw-r--r-- | src/client.hh | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/client.hh b/src/client.hh index 5ccf5fd5..b7f8861c 100644 --- a/src/client.hh +++ b/src/client.hh @@ -19,6 +19,7 @@ extern "C" { #include "otk/strut.hh" #include "otk/rect.hh" +#include "otk/eventhandler.hh" namespace ob { @@ -36,7 +37,7 @@ class OBFrame; class' member variables and call whatever is nessary to complete the change (such as causing a redraw of the titlebar after the title is changed). */ -class OBClient { +class OBClient : public otk::OtkEventHandler { public: //! The frame window which decorates around the client window @@ -433,16 +434,12 @@ public: //! Returns the position and size of the client relative to the root window inline const otk::Rect &area() const { return _area; } - //! Updates the OBClient class from a property change XEvent - void update(const XPropertyEvent &e); - //! Processes a client message XEvent for the window and causes an action - //! or whatever was specified to occur - void update(const XClientMessageEvent &e); -#if defined(SHAPE) || defined(DOXYGEN_IGNORE) - //! Updates the client's shape status - void update(const XShapeEvent &e); -#endif + virtual void propertyHandler(const XPropertyEvent &); + virtual void clientMessageHandler(const XClientMessageEvent &); + + virtual void shapeHandler(const XShapeEvent &); + //! Changes the stored positions and size of the OBClient window /*! This does not actually change the physical geometry, that needs to be done |
