From 77deef733bfc547325d7c6db3e0274b1c52281b9 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 23 Sep 2019 15:41:11 +0000 Subject: Use the correct size for new windows when window-size is latest, reported by Vamsi Krishna Avula in GitHub issue 1917. --- tmux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 6e6fee96..60c515f5 100644 --- a/tmux.h +++ b/tmux.h @@ -2196,8 +2196,8 @@ void status_prompt_save_history(void); /* resize.c */ void resize_window(struct window *, u_int, u_int); -void default_window_size(struct session *, struct window *, u_int *, - u_int *, int); +void default_window_size(struct client *, struct session *, struct window *, + u_int *, u_int *, int); void recalculate_size(struct window *); void recalculate_sizes(void); -- cgit