diff options
author | nicm <nicm> | 2015-11-05 11:05:30 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-05 11:05:30 +0000 |
commit | 5577535891e709f87f88311a1adef55dd6c6de85 (patch) | |
tree | 3f2b0fd4f08f5e437fee83e15ec15ce147a2185a /key-bindings.c | |
parent | 455284f1c02af1a4e0d68555e285563ce7fffb8f (diff) |
Pass through right click if mouse is on, from Patrick Palka.
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 e12dd62c..83b94ac1 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -226,7 +226,7 @@ key_bindings_init(void) "bind -n WheelDownStatus next-window", "bind -n WheelUpStatus previous-window", "bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'", - "bind -n MouseDown3Pane select-pane -mt=", + "bind -n MouseDown3Pane if-shell -Ft= '#{mouse_any_flag}' 'select-pane -t=; send-keys -M' 'select-pane -mt='", "bind -n WheelUpPane if-shell -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'", }; u_int i; |