From a02c2e55c0ee0a6f2d3a897c06a396794b765a6c Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 21 Oct 2014 22:22:04 +0000 Subject: Only redraw pane when it has actually changed. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 11803985..a8ea70dc 100644 --- a/tmux.h +++ b/tmux.h @@ -2116,7 +2116,7 @@ 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 *); +int 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); int window_zoom(struct window_pane *); -- cgit