From d162ff48f3069c8371a40ddbcf987946dbddf953 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 16 Mar 2020 06:12:42 +0000 Subject: 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. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') 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; -- cgit