aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-12 13:16:16 +0000
committernicm <nicm>2020-03-12 13:16:16 +0000
commitf7bc753442ef23ec96266dad738cf2dc22343118 (patch)
treeea606a20f3b7aec1684104fe7fd9c2a4a93e0726 /tmux.h
parentb8b48e2e37b9dcc1cfebaecbd89d557eca82a0be (diff)
downloadrtmux-f7bc753442ef23ec96266dad738cf2dc22343118.tar.gz
rtmux-f7bc753442ef23ec96266dad738cf2dc22343118.tar.bz2
rtmux-f7bc753442ef23ec96266dad738cf2dc22343118.zip
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.
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 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;