aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2014-01-28 22:19:17 +0000
committernicm <nicm>2014-01-28 22:19:17 +0000
commitc930fd5ff696f5a60e93ed503f0ff57e0bbf6e4d (patch)
tree6ccba4da63f4141c52e4d29c6e7a74084ad65bff /tmux.h
parentdda70d4ef1ce155906c123c6880352c4979e4b57 (diff)
downloadrtmux-c930fd5ff696f5a60e93ed503f0ff57e0bbf6e4d.tar.gz
rtmux-c930fd5ff696f5a60e93ed503f0ff57e0bbf6e4d.tar.bz2
rtmux-c930fd5ff696f5a60e93ed503f0ff57e0bbf6e4d.zip
Remember the last active pane in the top-bottom or left-right cell so
that it can be restored when moving back to that cell with selectp -L/-R/etc. From Suraj N Kurapati.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 0a4f8fb5..b28f10a0 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1028,6 +1028,8 @@ struct layout_cell {
u_int yoff;
struct window_pane *wp;
+ struct window_pane *lastwp;
+
struct layout_cells cells;
TAILQ_ENTRY(layout_cell) entry;