aboutsummaryrefslogtreecommitdiff
path: root/key-string.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
committerThomas Adam <thomas@xteddy.org>2016-10-12 09:45:49 +0100
commitb9dc855016cf79c8bb8469c272dbc6bca24deadc (patch)
treea2049bea7b17ededbd12b77110d47353ed832e46 /key-string.c
parent27126f87976c63161fcae2ab1eb9c6df726a84ff (diff)
parent5c49e1d0c1afaf98512b2ffd1f31d91fecff9851 (diff)
downloadrtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.tar.gz
rtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.tar.bz2
rtmux-b9dc855016cf79c8bb8469c272dbc6bca24deadc.zip
Merge branch 'obsd-master'
Conflicts: format.c osdep-openbsd.c
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/key-string.c b/key-string.c
index ef5cf17c..d513ec6f 100644
--- a/key-string.c
+++ b/key-string.c
@@ -25,7 +25,7 @@
static key_code key_string_search_table(const char *);
static key_code key_string_get_modifiers(const char **);
-const struct {
+static const struct {
const char *string;
key_code key;
} key_string_table[] = {
@@ -98,6 +98,12 @@ const struct {
KEYC_MOUSE_STRING(MOUSEDRAGEND3, MouseDragEnd3),
KEYC_MOUSE_STRING(WHEELUP, WheelUp),
KEYC_MOUSE_STRING(WHEELDOWN, WheelDown),
+ KEYC_MOUSE_STRING(DOUBLECLICK1, DoubleClick1),
+ KEYC_MOUSE_STRING(DOUBLECLICK2, DoubleClick2),
+ KEYC_MOUSE_STRING(DOUBLECLICK3, DoubleClick3),
+ KEYC_MOUSE_STRING(TRIPLECLICK1, TripleClick1),
+ KEYC_MOUSE_STRING(TRIPLECLICK2, TripleClick2),
+ KEYC_MOUSE_STRING(TRIPLECLICK3, TripleClick3),
};
/* Find key string in table. */