]> Dogcows Code - chaz/openbox/blobdiff - otk/eventhandler.hh
support the button pressed resources better
[chaz/openbox] / otk / eventhandler.hh
index 8e39a8dc0db420b52f27c11fdfd7192b70680467..9308ed03fb28d3668df9b0df501a0da5f48c685e 100644 (file)
@@ -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 &) {}
 
@@ -118,7 +121,7 @@ public:
 
 #if defined(SHAPE) || defined(DOXYGEN_IGNORE)
   //! Called when a shape extention event fires
-  virtual void shapeHandler(const XShapeEvent &) {};
+  virtual void shapeHandler(const XShapeEvent &) {}
 #endif // SHAPE 
 
   virtual ~OtkEventHandler();
This page took 0.02549 seconds and 4 git commands to generate.