From 2b60c648c4e0202ca2743fe958e0eabfc0479f55 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 5 Jun 2011 10:53:05 +0000 Subject: Get rid of the layout string code which tries to walk through the layout hierarchy and instead just look at what panes are actually in the window. --- tmux.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index adad1d7f..0634470e 100644 --- a/tmux.h +++ b/tmux.h @@ -1891,7 +1891,9 @@ struct window *window_create(const char *, const char *, const char *, const char *, struct environ *, struct termios *, u_int, u_int, u_int, char **); void window_destroy(struct window *); +struct window_pane *window_get_active_at(struct window *, u_int, u_int); void window_set_active_at(struct window *, u_int, u_int); +struct window_pane *window_find_string(struct window *, const char *); void window_set_active_pane(struct window *, struct window_pane *); struct window_pane *window_add_pane(struct window *, u_int); void window_resize(struct window *, u_int, u_int); @@ -1971,10 +1973,6 @@ u_int layout_set_next(struct window *); u_int layout_set_previous(struct window *); void layout_set_active_changed(struct window *); -/* layout-string.c */ -struct layout_cell *layout_find_string(struct window *, const char *); -struct layout_cell *layout_find_bottomright(struct layout_cell *); - /* window-clock.c */ extern const struct window_mode window_clock_mode; -- cgit