namespace otk {
-class OtkEventHandler{
+class OtkEventHandler {
public:
//! Dispatches events to one of the other handlers based on their type.
virtual void handle(const XEvent &e);
//! Called whenever a button of the pointer is released.
virtual void buttonReleaseHandler(const XButtonEvent &) {}
+ //! Called whenever the pointer moved
+ virtual void motionHandler(const XMotionEvent &) {}
+
//! Called whenever the pointer enters a window.
virtual void enterHandler(const XCrossingEvent &) {}