summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-02-27 13:07:57 +0000
committernicm <nicm>2017-02-27 13:07:57 +0000
commite741a0bcd7775fab1db822ea6707cd32b0ea9799 (patch)
treee5a066323c49a0df1055f02b66c3394e1c03fb70 /tmux.h
parent0414b1fc78c8c47af49ffe6305999df8592be24f (diff)
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
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 *);