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