aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-11-24 18:45:45 +0000
committernicm <nicm>2016-11-24 18:45:45 +0000
commit6f8cedb1bc147f2d05d63c2c085b2791fd841c19 (patch)
tree5fc2934ebe5aebdf622799c0cf5813cd4cbef2b6 /tmux.h
parent84319aa8f013238ccc1bbd6ea44b9e6be7c58db2 (diff)
downloadrtmux-6f8cedb1bc147f2d05d63c2c085b2791fd841c19.tar.gz
rtmux-6f8cedb1bc147f2d05d63c2c085b2791fd841c19.tar.bz2
rtmux-6f8cedb1bc147f2d05d63c2c085b2791fd841c19.zip
The mouse valid flag needs to be correct before we fire the dragging
callback, so move the callback outside of server_client_check_mouse and use a new special key code to indicate it.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index ff5fb184..f4674e2e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -135,6 +135,7 @@ enum {
/* Mouse keys. */
KEYC_MOUSE, /* unclassified mouse event */
+ KEYC_DRAGGING, /* dragging in progress */
KEYC_MOUSE_KEY(MOUSEDOWN1),
KEYC_MOUSE_KEY(MOUSEDOWN2),
KEYC_MOUSE_KEY(MOUSEDOWN3),