X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Factions.hh;h=7168fce459a95c1c58a30ab56b9b781d4dbab952;hb=9e4d1bbabcabef13b740dd7201e35c3314abfbee;hp=e57593f78f6fbecdd1f792dc74bc129b793c92fc;hpb=4e0b5fdef451c605f563d137b024134a68c6d6de;p=chaz%2Fopenbox diff --git a/src/actions.hh b/src/actions.hh index e57593f7..7168fce4 100644 --- a/src/actions.hh +++ b/src/actions.hh @@ -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);