summaryrefslogtreecommitdiffstats
path: root/src/keymap.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-04 16:58:45 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-04 16:58:45 +0200
commitbedf091a951bdcd5f9f13839c0aaf2e395a635f6 (patch)
treecd1e9187410904f63d35592d9e476f95ab8b29f2 /src/keymap.h
parentd2fad67e3eb71f48d23f283ef8e7b7ddf4ee180f (diff)
patch 8.1.1265: when GPM mouse support is enabled double clicks do not workv8.1.1265
Problem: When GPM mouse support is enabled double clicks in xterm do not work. Solution: Use KS_GPM_MOUSE for GPM mouse events.
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keymap.h b/src/keymap.h
index d6dd5cbb35..47294f0288 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -114,6 +114,9 @@
#define KS_SGR_MOUSE 237
#define KS_SGR_MOUSE_RELEASE 236
+/* Used for the GPM mouse. */
+#define KS_GPM_MOUSE 235
+
/*
* Filler used after KS_SPECIAL and others
*/