summaryrefslogtreecommitdiff
path: root/src/actions.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-17 06:52:34 +0000
committerDana Jansens <danakj@orodu.net>2003-01-17 06:52:34 +0000
commitbaaaed3dc16b38e9704da7c6bc0edce7f2df068b (patch)
tree2e4e1baca7d8fc44206d8efcd84c6a934cf40ed2 /src/actions.hh
parenta38a8f0bac02d9f615b769026fd72567c1ac6c91 (diff)
add a drag threshold
Diffstat (limited to 'src/actions.hh')
-rw-r--r--src/actions.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/actions.hh b/src/actions.hh
index 603450e4..1c0c064e 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);