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.cc | |
| parent | 638d4e6f1902c92e73b04246f349318236378437 (diff) | |
add the config header and emacs comment to all the .cc's
Diffstat (limited to 'otk/eventhandler.cc')
| -rw-r--r-- | otk/eventhandler.cc | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/otk/eventhandler.cc b/otk/eventhandler.cc index 9d37bcff..6603b3e1 100644 --- a/otk/eventhandler.cc +++ b/otk/eventhandler.cc @@ -1,5 +1,11 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- + +#ifdef HAVE_CONFIG_H +# include "../config.h" +#endif + +#include "display.hh" #include "eventhandler.hh" -#include <iostream> namespace otk { @@ -78,7 +84,19 @@ void OtkEventHandler::handle(const XEvent &e) return selectionHandler(e.xselection); case SelectionRequest: return selectionRequestHandler(e.xselectionrequest); - }; + default: +#ifdef SHAPE + if (e.type == otk::OBDisplay::shapeEventBase()) + return shapeHandler((*(XShapeEvent*)&e)); +#endif // SHAPE + ; + } +} + + +void OtkEventHandler::clientMessageHandler(const XClientMessageEvent &) +{ + } } |
