From e741a0bcd7775fab1db822ea6707cd32b0ea9799 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 27 Feb 2017 13:07:57 +0000 Subject: If splitw -b is used, insert the new pane before the current one in the pane list. This means the numbering is in order (for example for display-panes) and fixes a problem with redrawing the active pane borders. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 89f1af35..40b62e0c 100644 --- a/tmux.h +++ b/tmux.h @@ -2066,7 +2066,7 @@ 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 *, struct window_pane *, - u_int); + int, u_int); void window_resize(struct window *, u_int, u_int); int window_zoom(struct window_pane *); int window_unzoom(struct window *); -- cgit