=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.927 retrieving revision 1.928 diff -c -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 **** ! /* $OpenBSD: tmux.h,v 1.927 2019/09/15 21:42:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.928 2019/09/19 09:02:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 905,910 **** --- 905,911 ---- /* Window structure. */ struct window { u_int id; + void *latest; char *name; struct event name_event; *************** *** 970,975 **** --- 971,977 ---- #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,1675 **** --- 1672,1678 ---- struct session *s; struct winlink *wl; + struct client *c; struct window_pane *wp0; struct layout_cell *lc; *************** *** 2195,2200 **** --- 2198,2204 ---- 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 */