X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Factions.hh;h=8fb728df84a2c79afc7a4d811f4b8936eed07a03;hb=d4e4e25e2841d3aefc5dc13bab551d77b63590ea;hp=603450e4c42cc9847d63507e26d276147dc30ad7;hpb=77ab46d1e35d48e73c201e6de88b26f48bb06425;p=chaz%2Fopenbox diff --git a/src/actions.hh b/src/actions.hh index 603450e4..8fb728df 100644 --- a/src/actions.hh +++ b/src/actions.hh @@ -55,6 +55,9 @@ private: Used for motion events as the starting position. */ ButtonPressAction *_posqueue[BUTTONS]; + //! This is set to true once a drag has started and false when done to make + //! sure the threshold isnt checked anymore once a drag is underway + bool _dragging; void insertPress(const XButtonEvent &e); @@ -76,10 +79,6 @@ public: virtual void motionHandler(const XMotionEvent &e); - virtual void mapRequestHandler(const XMapRequestEvent &e); - virtual void unmapHandler(const XUnmapEvent &e); - virtual void destroyHandler(const XDestroyWindowEvent &e); - #ifdef XKB virtual void xkbHandler(const XkbEvent &e); #endif // XKB