diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-16 14:57:36 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-16 14:57:36 +0100 |
commit | 57fe03dc5a132ee131de457afa5724ec735ae811 (patch) | |
tree | 2166e2cd9bc841e1e423629c75dc2240302ceb48 /tmux.h | |
parent | 53c84fd4aa87b4ff80e79ef79155f13c69f1aebc (diff) | |
download | rtmux-57fe03dc5a132ee131de457afa5724ec735ae811.tar.gz rtmux-57fe03dc5a132ee131de457afa5724ec735ae811.tar.bz2 rtmux-57fe03dc5a132ee131de457afa5724ec735ae811.zip |
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.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |