]> Dogcows Code - chaz/openbox/blobdiff - src/actions.hh
code reorganize
[chaz/openbox] / src / actions.hh
index e57593f78f6fbecdd1f792dc74bc129b793c92fc..7168fce459a95c1c58a30ab56b9b781d4dbab952 100644 (file)
@@ -7,6 +7,7 @@
 */
 
 #include "otk/point.hh"
+#include "otk/rect.hh"
 #include "otk/eventhandler.hh"
 
 extern "C" {
@@ -32,6 +33,7 @@ public:
   struct ButtonPressAction {
     unsigned int button;
     otk::Point pos;
+    otk::Rect clientarea;
     ButtonPressAction() { button = 0; }
   };
   
@@ -49,6 +51,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);
This page took 0.024771 seconds and 4 git commands to generate.