summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-08-13 23:05:40 +0000
committernicm <nicm>2021-08-13 23:05:40 +0000
commit7d7d7c960593de4c37962ca2d74dbd13e5a3cc2b (patch)
tree6bff7fe294299410ca5ff272c90a2e379403adc4 /tmux.h
parent63aa96864280ff07f706ebbae302b7c15abb964f (diff)
Tweak how mouse works on popup: only Meta alone resizes or moves, not
Meta with other modifiers; button 2 on the left or top border opens menu, right or bottom resizes; button 1 on any border moves.
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 d1ae5e43..e6ba8e86 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1158,6 +1158,7 @@ RB_HEAD(sessions, session);
#define MOUSE_MASK_CTRL 16
#define MOUSE_MASK_DRAG 32
#define MOUSE_MASK_WHEEL 64
+#define MOUSE_MASK_MODIFIERS (MOUSE_MASK_SHIFT|MOUSE_MASK_META|MOUSE_MASK_CTRL)
/* Mouse wheel states. */
#define MOUSE_WHEEL_UP 0