diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-17 09:41:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-17 09:41:58 +0000 |
| commit | 1d897f432e54400cb2a0e1499712782b336fd728 (patch) | |
| tree | 2ff371ac0e95fbb1ea237e430bf561f8120564c6 /otk/eventhandler.hh | |
| parent | 638d4e6f1902c92e73b04246f349318236378437 (diff) | |
add the config header and emacs comment to all the .cc's
Diffstat (limited to 'otk/eventhandler.hh')
| -rw-r--r-- | otk/eventhandler.hh | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/otk/eventhandler.hh b/otk/eventhandler.hh index 05dfac3b..bb4f6d6b 100644 --- a/otk/eventhandler.hh +++ b/otk/eventhandler.hh @@ -3,6 +3,10 @@ extern "C" { #include <X11/Xlib.h> + +#ifdef SHAPE +#include <X11/extensions/shape.h> +#endif // SHAPE } namespace otk { @@ -93,9 +97,6 @@ public: //! Called when the colormap changes, or is installed or unistalled virtual void colorMapHandler(const XColormapEvent &) {} - //! Called when a client calls XSendEvent - virtual void clientMessageHandler(const XClientMessageEvent &) {} - //! Called when a property of a window changes virtual void propertyHandler(const XPropertyEvent &) {} @@ -108,6 +109,18 @@ public: //! Called when a SelectionEvent occurs virtual void selectionRequestHandler(const XSelectionRequestEvent &) {} + //! Called when a client calls XSendEvent + /*! + Some types of client messages are filtered out and sent to more specific + event handler functions. + */ + virtual void clientMessageHandler(const XClientMessageEvent &); + +#if defined(SHAPE) || defined(DOXYGEN_IGNORE) + //! Called when a shape extention event fires + virtual void shapeHandler(const XShapeEvent &) {}; +#endif // SHAPE + virtual ~OtkEventHandler(); protected: |
