aboutsummaryrefslogtreecommitdiff
path: root/cmd-rename-session.c
diff options
context:
space:
mode:
authornicm <nicm>2016-11-16 00:24:03 +0000
committernicm <nicm>2016-11-16 00:24:03 +0000
commite88b74350fba9e35307f35a8645b23e3cde9200a (patch)
tree7e97f502b883765b11e70ef6425d95371fa2046c /cmd-rename-session.c
parentc34a79b152e1d27ed87417e6a940358990ab9e79 (diff)
downloadrtmux-e88b74350fba9e35307f35a8645b23e3cde9200a.tar.gz
rtmux-e88b74350fba9e35307f35a8645b23e3cde9200a.tar.bz2
rtmux-e88b74350fba9e35307f35a8645b23e3cde9200a.zip
The target validity check used window_pane_visible but that may be false
if the pane is zoomed, so instead add a new function to just check if the pane is actually on screen (most commands still want to accept panes invisible by zoom). Also reject panes outside the window for various special targets. Problem reported by Sean Haugh.
Diffstat (limited to 'cmd-rename-session.c')
0 files changed, 0 insertions, 0 deletions