aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-16 06:12:42 +0000
committernicm <nicm>2020-03-16 06:12:42 +0000
commitd162ff48f3069c8371a40ddbcf987946dbddf953 (patch)
treec629a100e1c8f374ed1f0e7c9a8d97f06e7b1f22 /tmux.h
parent882d0b785d52843b76a387ff3c6bf2cae46fc7ec (diff)
downloadrtmux-d162ff48f3069c8371a40ddbcf987946dbddf953.tar.gz
rtmux-d162ff48f3069c8371a40ddbcf987946dbddf953.tar.bz2
rtmux-d162ff48f3069c8371a40ddbcf987946dbddf953.zip
Send mouse down event immediately rather than waiting for double click
to finish which would now mean it was out of order. Reported by Mark Kelly.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index ac1296dc..786cb0dd 100644
--- a/tmux.h
+++ b/tmux.h
@@ -561,6 +561,7 @@ struct msg_write_close {
#define ALL_MODES 0xffffff
#define ALL_MOUSE_MODES (MODE_MOUSE_STANDARD|MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)
+#define MOTION_MOUSE_MODES (MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)
/*
* A single UTF-8 character. UTF8_SIZE must be big enough to hold
@@ -1117,6 +1118,7 @@ RB_HEAD(sessions, session);
/* Mouse input. */
struct mouse_event {
int valid;
+ int ignore;
key_code key;