Sync OpenBSD patchset 979:

Make window_pane_index work the same as window_index, from Ben Boeckel.
This commit is contained in:
Tiago Cunha
2011-11-25 13:30:45 +00:00
parent 398af28d2a
commit 9ec457575d
6 changed files with 25 additions and 15 deletions

2
tmux.h
View File

@ -1927,7 +1927,7 @@ struct window_pane *window_pane_next_by_number(struct window *,
struct window_pane *, u_int);
struct window_pane *window_pane_previous_by_number(struct window *,
struct window_pane *, u_int);
u_int window_pane_index(struct window *, struct window_pane *);
int window_pane_index(struct window_pane *, u_int *);
u_int window_count_panes(struct window *);
void window_destroy_panes(struct window *);
struct window_pane *window_pane_find_by_id(u_int);