aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-08-14 09:58:31 +0000
committernicm <nicm>2019-08-14 09:58:31 +0000
commit0f243f03882671f19d35c9bd2decfc94919979fa (patch)
tree05436a488884f13a8c8b9910983a497580ac3c90 /tmux.h
parent45f4ff54850ff9b448070a96b33e63451f973e33 (diff)
downloadrtmux-0f243f03882671f19d35c9bd2decfc94919979fa.tar.gz
rtmux-0f243f03882671f19d35c9bd2decfc94919979fa.tar.bz2
rtmux-0f243f03882671f19d35c9bd2decfc94919979fa.zip
Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
preserve zoomed state. GitHub issue 1839.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
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);