return buttonPressHandler(e.xbutton);
case ButtonRelease:
return buttonReleaseHandler(e.xbutton);
+ case MotionNotify:
+ return motionHandler(e.xmotion);
case EnterNotify:
return enterHandler(e.xcrossing);
case LeaveNotify:
//! 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 &) {}