]> Dogcows Code - chaz/openbox/blobdiff - src/actions.hh
can tell where events are coming from!
[chaz/openbox] / src / actions.hh
index 3d45966e171125e7483c35cbbc58e95d915c5e57..9f65f7ed3ef284c055cacc6a6b6d0af0c556a692 100644 (file)
@@ -49,6 +49,8 @@ private:
     Used for motion events as the starting position.
   */
   ButtonPressAction *_posqueue[BUTTONS];
+  //! The delta x/y of the last motion sequence
+  int _dx, _dy;
 
   //! Insert a button/position in the _posqueue
   void insertPress(const XButtonEvent &e);
@@ -56,7 +58,9 @@ private:
   void removePress(const XButtonEvent &e);
   
 public:
+  //! Constructs an OBActions object
   OBActions();
+  //! Destroys the OBActions object
   virtual ~OBActions();
 
   virtual void buttonPressHandler(const XButtonEvent &e);
This page took 0.021928 seconds and 4 git commands to generate.