summaryrefslogtreecommitdiffstats
path: root/key-string.c
diff options
context:
space:
mode:
authornicm <nicm>2016-03-18 07:28:27 +0000
committernicm <nicm>2016-03-18 07:28:27 +0000
commitfa97b0a95b804fec86b03d35d16c270d2866ebd6 (patch)
tree9502ac3e0816167e912a8ad19fe826c7af15897e /key-string.c
parent0d6de44a37755f0e5046c04e19e4506a6d59e750 (diff)
Instead of reusing MouseUp at the finish of a drag, add a new key
MouseDragEnd. It can be useful to bind them separately in copy mode.
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/key-string.c b/key-string.c
index c56681f1..119035a0 100644
--- a/key-string.c
+++ b/key-string.c
@@ -93,6 +93,9 @@ const struct {
KEYC_MOUSE_STRING(MOUSEDRAG1, MouseDrag1),
KEYC_MOUSE_STRING(MOUSEDRAG2, MouseDrag2),
KEYC_MOUSE_STRING(MOUSEDRAG3, MouseDrag3),
+ KEYC_MOUSE_STRING(MOUSEDRAGEND1, MouseDragEnd1),
+ KEYC_MOUSE_STRING(MOUSEDRAGEND2, MouseDragEnd2),
+ KEYC_MOUSE_STRING(MOUSEDRAGEND3, MouseDragEnd3),
KEYC_MOUSE_STRING(WHEELUP, WheelUp),
KEYC_MOUSE_STRING(WHEELDOWN, WheelDown),
};