=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.927 retrieving revision 1.928 diff -u -r1.927 -r1.928 --- src/usr.bin/tmux/tmux.h 2019/09/15 21:42:57 1.927 +++ src/usr.bin/tmux/tmux.h 2019/09/19 09:02:30 1.928 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.927 2019/09/15 21:42:57 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.928 2019/09/19 09:02:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -905,6 +905,7 @@ /* Window structure. */ struct window { u_int id; + void *latest; char *name; struct event name_event; @@ -970,6 +971,7 @@ #define WINDOW_SIZE_LARGEST 0 #define WINDOW_SIZE_SMALLEST 1 #define WINDOW_SIZE_MANUAL 2 +#define WINDOW_SIZE_LATEST 3 /* Pane border status option. */ #define PANE_STATUS_OFF 0 @@ -1670,6 +1672,7 @@ struct session *s; struct winlink *wl; + struct client *c; struct window_pane *wp0; struct layout_cell *lc; @@ -2195,6 +2198,7 @@ void resize_window(struct window *, u_int, u_int); void default_window_size(struct session *, struct window *, u_int *, u_int *, int); +void recalculate_size(struct window *); void recalculate_sizes(void); /* input.c */