diff options
author | nicm <nicm> | 2015-04-21 15:34:32 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-04-21 15:34:32 +0000 |
commit | d1337053b6119c4aab0c38b5fc082acf2fdfcbb1 (patch) | |
tree | 319ee92641a06c9ec6e2d88ea63a51193337b439 /key-bindings.c | |
parent | 4cf4302962558be4d5e7a87c57f084d1187fa330 (diff) | |
download | rtmux-d1337053b6119c4aab0c38b5fc082acf2fdfcbb1.tar.gz rtmux-d1337053b6119c4aab0c38b5fc082acf2fdfcbb1.tar.bz2 rtmux-d1337053b6119c4aab0c38b5fc082acf2fdfcbb1.zip |
Bind mouse dragging so that it is passed through to applications if they
want it rather than entering copy mode.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/key-bindings.c b/key-bindings.c index c34db710..670300a7 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -221,7 +221,7 @@ key_bindings_init(void) "bind -n MouseDown1Pane select-pane -t=\\; send-keys -M", "bind -n MouseDrag1Border resize-pane -M", "bind -n MouseDown1Status select-window -t=", - "bind -n MouseDrag1Pane copy-mode -M", + "bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'", }; u_int i; struct cmd_list *cmdlist; |