diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 08:48:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 08:48:03 +0000 |
| commit | c97915f445017d36667a6ad32767fa41d14d23b1 (patch) | |
| tree | 66ea465799a6b00ef1361a44774d4610ca6ca814 /otk/eventhandler.cc | |
| parent | 9e77a88d269bfafb78e56a646bfacebdd6ff4c5a (diff) | |
un-static otk::Display. add an operator* to it. make a global ob::display var.
Diffstat (limited to 'otk/eventhandler.cc')
| -rw-r--r-- | otk/eventhandler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/eventhandler.cc b/otk/eventhandler.cc index e4a24df8..c867d809 100644 --- a/otk/eventhandler.cc +++ b/otk/eventhandler.cc @@ -88,11 +88,11 @@ void EventHandler::handle(const XEvent &e) return selectionRequestHandler(e.xselectionrequest); default: #ifdef SHAPE - if (e.type == Display::shapeEventBase()) + if (e.type == display->shapeEventBase()) return shapeHandler((*(XShapeEvent*)&e)); #endif // SHAPE #ifdef XKB - if (e.type == Display::xkbEventBase()) + if (e.type == display->xkbEventBase()) return xkbHandler((*(XkbEvent*)&e)); #endif // XKB ; |
