aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-06-06 07:24:31 +0000
committernicm <nicm>2016-06-06 07:24:31 +0000
commit00cf5fbde6d846a10804447204dd55e8c3a68dbd (patch)
tree4632d8517797199b8433dcf91c548a289f62b7c4 /tmux.h
parent3c10df4f87490ecdc9d9a8ca443e57e8b96abbe9 (diff)
downloadrtmux-00cf5fbde6d846a10804447204dd55e8c3a68dbd.tar.gz
rtmux-00cf5fbde6d846a10804447204dd55e8c3a68dbd.tar.bz2
rtmux-00cf5fbde6d846a10804447204dd55e8c3a68dbd.zip
Insert new panes after the pane being split in the list rather than
always after the active pane. This is more sensible when doing it with commands rather than keys.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index fddddca3..5422c8eb 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2130,7 +2130,8 @@ int window_has_pane(struct window *, struct window_pane *);
int window_set_active_pane(struct window *, struct window_pane *);
void window_redraw_active_switch(struct window *,
struct window_pane *);
-struct window_pane *window_add_pane(struct window *, u_int);
+struct window_pane *window_add_pane(struct window *, struct window_pane *,
+ u_int);
void window_resize(struct window *, u_int, u_int);
int window_zoom(struct window_pane *);
int window_unzoom(struct window *);