X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Feventhandler.hh;h=9308ed03fb28d3668df9b0df501a0da5f48c685e;hb=85b0dc80cff679d964820159de018a6e89997184;hp=a70343edac8e3567bc989a83b9e4f5957f352514;hpb=74cb09bb2cc4832463a57743b1495eef24237d2a;p=chaz%2Fopenbox diff --git a/otk/eventhandler.hh b/otk/eventhandler.hh index a70343ed..9308ed03 100644 --- a/otk/eventhandler.hh +++ b/otk/eventhandler.hh @@ -11,7 +11,7 @@ extern "C" { 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); @@ -28,6 +28,9 @@ public: //! 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 &) {}