diff options
author | nicm <nicm> | 2020-03-16 06:12:42 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-03-16 06:12:42 +0000 |
commit | d162ff48f3069c8371a40ddbcf987946dbddf953 (patch) | |
tree | c629a100e1c8f374ed1f0e7c9a8d97f06e7b1f22 /tmux.h | |
parent | 882d0b785d52843b76a387ff3c6bf2cae46fc7ec (diff) | |
download | rtmux-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |