From 0f243f03882671f19d35c9bd2decfc94919979fa Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 14 Aug 2019 09:58:31 +0000 Subject: Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to preserve zoomed state. GitHub issue 1839. --- tmux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index ef24717b..3bcb120b 100644 --- a/tmux.h +++ b/tmux.h @@ -922,6 +922,7 @@ struct window { #define WINDOW_ACTIVITY 0x2 #define WINDOW_SILENCE 0x4 #define WINDOW_ZOOMED 0x8 +#define WINDOW_WASZOOMED 0x10 #define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) int alerts_queued; @@ -2381,6 +2382,8 @@ struct window_pane *window_add_pane(struct window *, struct window_pane *, void window_resize(struct window *, u_int, u_int); int window_zoom(struct window_pane *); int window_unzoom(struct window *); +int window_push_zoom(struct window *, int); +int window_pop_zoom(struct window *); void window_lost_pane(struct window *, struct window_pane *); void window_remove_pane(struct window *, struct window_pane *); struct window_pane *window_pane_at_index(struct window *, u_int); -- cgit