summaryrefslogtreecommitdiffstats
path: root/cmd-list-panes.c
diff options
context:
space:
mode:
authornicm <nicm>2013-10-10 11:58:24 +0000
committernicm <nicm>2013-10-10 11:58:24 +0000
commit34674bb180176662d51b774cfcd9f335f329f235 (patch)
treec94db10be93081849553eef5472ea82cf8929b36 /cmd-list-panes.c
parent784b711393f99523482515d7e6d0114f96f2ecec (diff)
Renumber windows: Lookup lastw via window not index
When calling 'movew -r' on a session to reorder the winlinks, ensure when adding back in the information for the lastw stack that we look up the winlink based on the window and not its index. Using the index doesn't make sense here because when comparing it to the old set, it will never match since the winlink has been renumbered. Bug reported by Ben Boeckel. Patch by Thomas Adam.
Diffstat (limited to 'cmd-list-panes.c')
0 files changed, 0 insertions, 0 deletions