diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-05-12 11:02:25 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-05-12 11:02:25 +0100 |
commit | 180bbab1fc39176885f8af777b24f455c14fff57 (patch) | |
tree | bb07f09e58bacb1f71875e14b8e7b3260793db94 /key-bindings.c | |
parent | 69c59c52b6b7b188738e1a7e7ec215c0fa9c0e05 (diff) | |
parent | a13165523598fa7670ebc95f3cfb5c892d08745a (diff) | |
download | rtmux-180bbab1fc39176885f8af777b24f455c14fff57.tar.gz rtmux-180bbab1fc39176885f8af777b24f455c14fff57.tar.bz2 rtmux-180bbab1fc39176885f8af777b24f455c14fff57.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c index ca4fdc52..c4874b50 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -278,8 +278,8 @@ 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 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=\"'", + "bind -n MouseDown3Pane if -Ft= '#{||:mouse_any_flag,pane_in_mode}' 'select-pane -t=; send-keys -M' 'select-pane -mt='", + "bind -n WheelUpPane if -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'", "bind -n MouseDown3StatusRight display-menu -t= -xM -yS -F -M \"#{client_menu}\" -T \"#[align=centre]#{client_name}\"", "bind -n MouseDown3StatusLeft display-menu -t= -xM -yS -F -M \"#{session_menu}\" -T \"#[align=centre]#{session_name}\"", "bind -n MouseDown3Status display-menu -t= -xW -yS -F -M \"#{window_menu}\" -T \"#[align=centre]#{window_index}:#{window_name}\"", |