From f7bc753442ef23ec96266dad738cf2dc22343118 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 12 Mar 2020 13:16:16 +0000 Subject: Change how double and triple clicks works so that one or the other is fired - a double click is no longer triggered on the way to a triple click. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index e4e23fcf..ac1296dc 100644 --- a/tmux.h +++ b/tmux.h @@ -166,6 +166,7 @@ enum { /* Mouse keys. */ KEYC_MOUSE, /* unclassified mouse event */ KEYC_DRAGGING, /* dragging in progress */ + KEYC_DOUBLECLICK, /* double click complete */ KEYC_MOUSE_KEY(MOUSEMOVE), KEYC_MOUSE_KEY(MOUSEDOWN1), KEYC_MOUSE_KEY(MOUSEDOWN2), @@ -1547,6 +1548,7 @@ struct client { struct event click_timer; u_int click_button; + struct mouse_event click_event; struct status_line status; -- cgit