From 57fe03dc5a132ee131de457afa5724ec735ae811 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 16 May 2020 14:57:36 +0100 Subject: Move lazy resize from the pane to the window, there is no point in resizing the window unless it is the current window, and if we do and don't resize the pane until later there are problems if the size changes from A to B then back to A. --- tmux.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 65164ccc..a9786990 100644 --- a/tmux.h +++ b/tmux.h @@ -1012,12 +1012,18 @@ struct window { u_int xpixel; u_int ypixel; + u_int new_sx; + u_int new_sy; + u_int new_xpixel; + u_int new_ypixel; + int flags; #define WINDOW_BELL 0x1 #define WINDOW_ACTIVITY 0x2 #define WINDOW_SILENCE 0x4 #define WINDOW_ZOOMED 0x8 #define WINDOW_WASZOOMED 0x10 +#define WINDOW_RESIZE 0x20 #define WINDOW_ALERTFLAGS (WINDOW_BELL|WINDOW_ACTIVITY|WINDOW_SILENCE) int alerts_queued; -- cgit