summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-09-19 12:01:30 +0100
committerThomas Adam <thomas@xteddy.org>2019-09-19 12:01:30 +0100
commit24ab1bc714b80d957b53685635a44dc0a89c032b (patch)
tree8f48efff4954cbbcc3c0cc3da5932ffeba096019 /tmux.h
parent827913102e0e707eb29cf1c6d7cf87b22786fbf6 (diff)
parent647887b794c00285047aa54ac0d44ae50c7847d7 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index cfdc79a2..e420a57a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -907,6 +907,7 @@ RB_HEAD(window_pane_tree, window_pane);
/* Window structure. */
struct window {
u_int id;
+ void *latest;
char *name;
struct event name_event;
@@ -972,6 +973,7 @@ TAILQ_HEAD(winlink_stack, winlink);
#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
@@ -1672,6 +1674,7 @@ struct spawn_context {
struct session *s;
struct winlink *wl;
+ struct client *c;
struct window_pane *wp0;
struct layout_cell *lc;
@@ -2197,6 +2200,7 @@ void status_prompt_save_history(void);
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 */